diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-23 17:14:02 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-23 17:14:02 +0100 |
commit | 5658f88281cb2aa7c0f5569e495bd301859e43ab (patch) | |
tree | 11aba517470e84e01fca8b4830c0b11be12ce7e8 | |
parent | 10bed619fa5f5c566487413dd716d4f1cc60040f (diff) | |
download | dotfiles-5658f88281cb2aa7c0f5569e495bd301859e43ab.tar.gz dotfiles-5658f88281cb2aa7c0f5569e495bd301859e43ab.tar.bz2 dotfiles-5658f88281cb2aa7c0f5569e495bd301859e43ab.zip |
(Shell/zshrc)~cleanup and remove cowfortune on start.
-rw-r--r-- | Shell/.zshrc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc index 86f18fd..cd4e261 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -1,8 +1,5 @@ # zshrc -*- mode: sh; lexical-binding: t; -*- -## Prompt -~/.local/scripts/cowfortune - ## Aliases alias vi="nvim" alias vim="nvim" @@ -24,7 +21,7 @@ psearch () { pacman -Ss $@ | less } -### Git aliases +## Git aliases alias gs="git status" alias gd="git diff" alias gc="git commit" @@ -79,7 +76,7 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh -# + ## Vim binds bindkey -v autoload -z edit-command-line @@ -98,7 +95,7 @@ bindkey '^[[B' history-substring-search-down bindkey '^P' history-substring-search-up bindkey '^N' history-substring-search-down -# Cursor +## Cursor function zle-keymap-select { if [[ ${KEYMAP} == vicmd ]] || [[ $1 = 'block' ]]; then @@ -125,7 +122,7 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! +## SDK man export SDKMAN_DIR="/home/oreo/.sdkman" [[ -s "/home/oreo/.sdkman/bin/sdkman-init.sh" ]] && source "/home/oreo/.sdkman/bin/sdkman-init.sh" |