This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
is=`ps aux | grep "journalctl -f" | grep -v grep | awk '{print$2}'` | |
file=/var/log/system.log | |
msize="12400000" # Max file sieze set to 10MB | |
asize=`ls -l /var/log/system.log | awk '{print$5}'` | |
logstaship=`fleetctl list-machines -l | grep logsystem | awk '{print$2}'` | |
hostname=`hostname` | |
# Checking the size of log file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH=$HOME/.oh-my-zsh | |
export TERM="xterm-256color" | |
export LANG="en_US.UTF-8" | |
ZSH_THEME="powerlevel9k/powerlevel9k" | |
plugins=(git bundler osx rake ruby zsh-completions) | |
source $ZSH/oh-my-zsh.sh | |
[[ -e ~/.bashrc ]] && emulate sh -c 'source ~/.bashrc' | |
# Custom Settings | |
POWERLEVEL9K_MODE='awesome-patched' | |
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 |