diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-05-27 21:11:39 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-05-27 21:11:39 +0200 |
commit | 8e97cff50b77a5c381447e675ea448865aa69d74 (patch) | |
tree | 0334953d72201a7987d41d0df8d2ea9f1b06c76a /.config/shell | |
parent | 5f6c5f827e1789f27339e2f0e63d298cecb039d8 (diff) |
Bug fix in PATH export, added some of Luke's scripts
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 |