diff options
Diffstat (limited to 'config/essentials')
-rw-r--r-- | config/essentials/shell/aliases.sh | 1 | ||||
-rw-r--r-- | config/essentials/zsh/.zshrc | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/config/essentials/shell/aliases.sh b/config/essentials/shell/aliases.sh index 0012406..a35ccd9 100644 --- a/config/essentials/shell/aliases.sh +++ b/config/essentials/shell/aliases.sh @@ -346,3 +346,4 @@ alias rsqp='rlwrap sqlplus -x' alias gcamc='gca -m "checkpoint"' alias gdb='gdb -q' alias gdbr='gdb -ex "target remote :4200"' +alias gonotes='cd "$(find $HOME/notes/ -mindepth 1 -type d -not -name '\''.*'\'' | sed "s@$HOME/notes/@@" | fzf)"' diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 0be7c8f..68aae3f 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -2,15 +2,6 @@ # zmodload zsh/zprof -if [ "$(id -u)" -ne 0 ] -then - [ "${TTY%%tty*}" = '/dev/' ] && clear - case "${TTY#/dev/tty}" in - 2) exec startx > /dev/null 2>&1 ;; - *) false ;; - esac && exit -fi - autoload -U select-word-style autoload -z edit-command-line zle -N edit-command-line |