Skip to content

Commit 8b6bc7b

Browse files
committed
no common-aliases oh-my-zsh plugin, conflicts with fd
1 parent 561b17e commit 8b6bc7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

zsh/.zshrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ antigen use oh-my-zsh
108108
# oh-my-zsh included bundles
109109
antigen bundle rust
110110
antigen bundle colored-man-pages
111-
antigen bundle common-aliases
111+
#antigen bundle common-aliases
112112
antigen bundle git
113113
antigen bundle wd
114114

@@ -234,7 +234,9 @@ alias show-colors='for i in {0..255}; do printf "\x1b[38;5;${i}mcolor%-5i\x1b[0m
234234
alias emoj="uvx emoji-fzf preview | fzf --preview 'emoji-fzf get --name {1}' | cut -d \" \" -f 1 | emoji-fzf get | xclip"
235235

236236
# no safe cp for me
237-
unalias rm cp mv
237+
(( $+aliases[rm] )) && unalias rm
238+
(( $+aliases[cp] )) && unalias cp
239+
(( $+aliases[mv] )) && unalias mv
238240

239241
# pipe data to gnuplot
240242
alias gplot='gnuplot -e "set terminal dumb; plot '"'"'-'"'"' notitle"'

0 commit comments

Comments
 (0)