diff options
| author | Arjun Karangiya <kar.9990@gmail.com> | 2020-04-06 11:29:58 +0530 |
|---|---|---|
| committer | Arjun Karangiya <kar.9990@gmail.com> | 2020-04-06 17:23:45 +0530 |
| commit | 1316be8ec42fdbc8e8a9e2c41872d6e6e9402c1b (patch) | |
| tree | 3839d24d9e60eae9742bba935a5fc29dbb5c7ac8 /.config | |
| parent | d650aacb907a2458fc22d9a225f6fd3c4ab2ef28 (diff) | |
| download | eibhear-1316be8ec42fdbc8e8a9e2c41872d6e6e9402c1b.tar.gz eibhear-1316be8ec42fdbc8e8a9e2c41872d6e6e9402c1b.tar.zst eibhear-1316be8ec42fdbc8e8a9e2c41872d6e6e9402c1b.zip | |
New featuer: ZSH named dirs
Diffstat (limited to '.config')
| -rw-r--r-- | .config/aliasrc | 2 | ||||
| -rw-r--r-- | .config/zsh/.zshrc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.config/aliasrc b/.config/aliasrc index e07ee7a..c1ae2a8 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -42,5 +42,5 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" # Some other stuff alias \ magit="nvim -c MagitOnly" \ - ref="shortcuts >/dev/null; source ~/.config/shortcutrc" \ + ref="shortcuts >/dev/null; source ~/.config/shortcutrc; source ~/.config/zshnameddirrc" \ weath="less -S ~/.local/share/weatherreport" \ diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 63c0049..eef425d 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -3,9 +3,10 @@ autoload -U colors && colors PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " -# Load aliases and shortcuts if existent. +# Load aliases, shortcuts and nameddirs if existent. [ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" +[ -f "$HOME/.config/zshnameddirrc" ] && source "$HOME/.config/zshnameddirrc" autoload -U compinit zstyle ':completion:*' menu select |
