python and zoxide alias
This commit is contained in:
@@ -103,7 +103,5 @@ if is-at-least 4.2.0; then
|
|||||||
alias -s ace="unace l"
|
alias -s ace="unace l"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias py='python3'
|
|
||||||
|
|
||||||
# Make zsh know about hosts already accessed by SSH
|
# Make zsh know about hosts already accessed by SSH
|
||||||
zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
|
zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
|
||||||
1
zsh/alias/python_alias.sh
Normal file
1
zsh/alias/python_alias.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
alias py='python3'
|
||||||
4
zsh/alias/zoxide_alias.sh
Normal file
4
zsh/alias/zoxide_alias.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
if (( $+commands[zoxide] )); then
|
||||||
|
# eval "$(zoxide init --cmd ${ZOXIDE_CMD_OVERRIDE:-z} zsh)"
|
||||||
|
eval "$(zoxide init --cmd z zsh)"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user