Skip to content

Commit

Permalink
feat(zsh): updated funcs and prompt(lig_operator_mono)
Browse files Browse the repository at this point in the history
  • Loading branch information
umgbhalla committed Feb 13, 2022
1 parent 1fe74f2 commit a5af3c5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 11 additions & 0 deletions base/zsh/.config/zsh/conda.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@
# unset __conda_setup
# <<< conda initialize <<<
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# Python Conda envs
function conda-ls() {
local selectedEnv
selectedEnv=$(ls ~/miniconda3/envs/ | fzf)

if [ -n "$selectedEnv" ]
then
conda activate $selectedEnv
fi
}
#
4 changes: 0 additions & 4 deletions base/zsh/.config/zsh/funcs.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ bindkey -M isearch " " magic-space
# bat $(whereis $1| awk '{print $2}')
# }
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
zathura (){
/bin/zathura $@ & disown
}
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
nz() {
find ~/.config/zsh/ -maxdepth 1 -type f | fzf | xargs -r nvim
}
Expand Down
2 changes: 1 addition & 1 deletion base/zsh/.config/zsh/prompt.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ precmd () {
vcs_info
}
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
PROMPT="%F{green}%f%F{yellow}%~%f%F{green}%f"$'\n'"%F{white}🦀%f "
PROMPT="%F{green}%f%F{yellow}%~%f%F{green}%f"$'\n'"%F{blue}>>=%f "
# right prompt shows time and branch name
RPROMPT='%F{8}%*%F{blue}${vcs_info_msg_0_}%f'

Expand Down

0 comments on commit a5af3c5

Please sign in to comment.