diff options
Diffstat (limited to '.config/shell')
-rwxr-xr-x | .config/shell/aliasrc | 14 | ||||
-rwxr-xr-x | .config/shell/profile | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 8d4eacd..b0c76ee 100755 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -25,3 +25,17 @@ alias \ grep="grep --color=auto" \ diff="diff --color=auto" \ ccat="highlight --out-format=ansi" + +# My aliases for different programs +alias \ + lg='lazygit' \ + gpu-watch="watch -n -1 nvidia-smi" \ + zshconfig="nvim ~/.zshrc" \ + gp='git add . && git commit -m "auto push" && git push' \ + zrc='nvim ~/.zshrc' \ + zsource='source ~/.zshrc' \ + v='nvim' \ + vi='nvim' \ + vim='nvim' \ + config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' \ + tmux='tmux -f $HOME/.config/tmux/.tmux.conf' diff --git a/.config/shell/profile b/.config/shell/profile index 0630427..a78bc45 100755 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -3,7 +3,7 @@ # profile file. Runs on login. Environmental variables are set here. # Adds `~/.local/bin` to $PATH -export PATH="$PATH:${$(find ~/.local/bin -type -d printf %p:)%%:}" +export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}" unsetopt PROMPT_SP |