From 1316be8ec42fdbc8e8a9e2c41872d6e6e9402c1b Mon Sep 17 00:00:00 2001 From: Arjun Karangiya Date: Mon, 6 Apr 2020 11:29:58 +0530 Subject: New featuer: ZSH named dirs --- .config/aliasrc | 2 +- .config/zsh/.zshrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to '.config') 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 -- cgit v1.3.1