diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-12-11 20:46:32 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-12-11 20:47:59 +0100 |
commit | f22f1723c01b56da14ae1de3491a78af1bc4c464 (patch) | |
tree | 030411c811d3474c4b322eca29d1bf8e96b7511f /zsh | |
parent | d8713792f93473fe14e01d151529fb6ef139448f (diff) |
Dot files with `chezmoi`
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 40 | ||||
-rw-r--r-- | zsh/lukerandall-d.zsh-theme | 28 |
2 files changed, 0 insertions, 68 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc deleted file mode 100644 index 557ff07..0000000 --- a/zsh/.zshrc +++ /dev/null @@ -1,40 +0,0 @@ -# now use Starship instead of oh-my-zsh theme -export ZSH="/home/dcariotti/.oh-my-zsh" -#ZSH_THEME="essembeh" -ZSH_THEME="lukerandall-d" -plugins=( - git - zsh-autosuggestions - zsh-syntax-highlighting -) - -source $ZSH/oh-my-zsh.sh - -#eval "$(starship init zsh)" - -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 - -export PATH=$PATH:/usr/local/go/bin - -[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh - -export WORKON_HOME=$HOME/.virtualenvs -source /usr/share/virtualenvwrapper/virtualenvwrapper.sh - -eval "$(direnv hook zsh)" -eval "$(jump shell)" -eval "$(mcfly init zsh)" - -# Install Ruby Gems to ~/gems -export GEM_HOME="$HOME/.gems" -export PATH="$HOME/.gem/ruby/2.7.0/bin:$PATH" -alias mutt=neomutt -alias gap="git add -p" -export TERM=xterm-256color - -fpath+=${ZDOTDIR:-~}/.zsh_functions - -# Generated for envman. Do not edit. -[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh" diff --git a/zsh/lukerandall-d.zsh-theme b/zsh/lukerandall-d.zsh-theme deleted file mode 100644 index 75a7606..0000000 --- a/zsh/lukerandall-d.zsh-theme +++ /dev/null @@ -1,28 +0,0 @@ -# ZSH Theme - Preview: https://cl.ly/f701d00760f8059e06dc -# Thanks to gallifrey, upon whose theme this is based - -local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})" - -function my_git_prompt_info() { - ref=$(git symbolic-ref HEAD 2> /dev/null) || return - GIT_STATUS=$(git_prompt_status) - [[ -n $GIT_STATUS ]] && GIT_STATUS=" $GIT_STATUS" - echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$GIT_STATUS$ZSH_THEME_GIT_PROMPT_SUFFIX" -} - -function path() { - echo ${${:-/${(j:/:)${(M)${(s:/:)${(D)PWD:h}}#(|.)[^.]}}/${PWD:t}}//\/~/\~} -} - -PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[yellow]%}$(path)%{$reset_color%} $(my_git_prompt_info)%{$reset_color%}%B$%b ' -RPS1="${return_code}" - -ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[cyan]%}(" -ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}" -ZSH_THEME_GIT_PROMPT_UNTRACKED="%%" -ZSH_THEME_GIT_PROMPT_ADDED="+" -ZSH_THEME_GIT_PROMPT_MODIFIED="*" -ZSH_THEME_GIT_PROMPT_RENAMED="~" -ZSH_THEME_GIT_PROMPT_DELETED="!" -ZSH_THEME_GIT_PROMPT_UNMERGED="?" - |