summaryrefslogtreecommitdiff
path: root/config/essentials
diff options
context:
space:
mode:
Diffstat (limited to 'config/essentials')
-rw-r--r--config/essentials/shell/aliases.sh1
-rw-r--r--config/essentials/zsh/.zshrc9
-rw-r--r--config/essentials/zsh/widgets.zsh1
3 files changed, 2 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 85f213d..d44eb11 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
diff --git a/config/essentials/zsh/widgets.zsh b/config/essentials/zsh/widgets.zsh
index a7f8067..dd42788 100644
--- a/config/essentials/zsh/widgets.zsh
+++ b/config/essentials/zsh/widgets.zsh
@@ -21,6 +21,7 @@ toggle_prompt() {
eval "$(starship init zsh)"
else
PS1="$new_prompt"
+ RPROMPT=""
fi
zle clear-screen
}