diff --git a/shells/zshrc b/shells/zshrc index 9638454..e3c3548 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -1,5 +1,6 @@ export HISTFILE=$HOME/.zsh_history ZSH_THEME="af-magic" +source "$HOME/.antigen/antigen.zsh" # Uncomment the following line to enable command auto-correction. # ENABLE_CORRECTION="true" COMPLETION_WAITING_DOTS="true" @@ -14,24 +15,6 @@ setopt HIST_EXPIRE_DUPS_FIRST setopt EXTENDED_HISTORY setopt APPEND_HISTORY SHARE_HISTORY HISTIGNOREALLDUPS # export PAGER=/usr/bin/w3m -plugins=(wd gem pass pip python sudo vagrant) -DISABLE_AUTO_UPDATE="true" -source "$HOME/.antigen/antigen.zsh" -printf "omg..." -antigen bundle stonewareslord/omg -printf "theme.." -antigen theme stonewareslord/oh-my-git-themes af-magic -printf "liquidprompt..." -antigen bundle stonewareslord/lpr -printf "zsh-completions..." -antigen bundle zsh-users/zsh-completions src -printf "autoenv..." -antigen bundle sharat87/autoenv -printf "syntax-highlighting..." -antigen bundle zsh-users/zsh-syntax-highlighting -printf "applying..." -antigen apply -echo "done" if [ -f /etc/zsh_command_not_found ] ; then source /etc/zsh_command_not_found @@ -41,11 +24,12 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g export EDITOR='vim' if [ "$(uname)" != "Darwin" ]; then alias ls='ls --color=always -F' + alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' + alias matlab='matlab -glnx86' + alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' fi -alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' -alias matlab='matlab -glnx86' +alias con='php app/console' alias srm='srm -dv' -alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' alias disphost='export DISPLAY=:0.0' alias ll='ls -AglhF' alias la='ls -A' @@ -270,3 +254,18 @@ source /home/stonewareslord/git/sync/zsh/sudo.zsh #source /home/stonewareslord/git/sync/zsh/misc.zsh #source /home/stonewareslord/git/sync/zsh/history.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +printf "omg..." +antigen bundle stonewareslord/omg +printf "theme.." +antigen theme stonewareslord/oh-my-git-themes af-magic +printf "liquidprompt..." +antigen bundle stonewareslord/lpr +printf "zsh-completions..." +antigen bundle zsh-users/zsh-completions src +printf "autoenv..." +antigen bundle sharat87/autoenv +printf "syntax-highlighting..." +antigen bundle zsh-users/zsh-syntax-highlighting +printf "applying..." +antigen apply +echo "done"