Move the zsh configuration to ~/.config/zsh
This commit is contained in:
parent
0844e03dd4
commit
3bd28fba99
3 changed files with 7 additions and 1 deletions
15
.config/zsh/.zprofile
Normal file
15
.config/zsh/.zprofile
Normal file
|
@ -0,0 +1,15 @@
|
|||
# pip zsh completion start
|
||||
function _pip_completion {
|
||||
local words cword
|
||||
read -Ac words
|
||||
read -cn cword
|
||||
reply=( $( COMP_WORDS="$words[*]" \
|
||||
COMP_CWORD=$(( cword-1 )) \
|
||||
PIP_AUTO_COMPLETE=1 $words[1] ) )
|
||||
}
|
||||
compctl -K _pip_completion pip
|
||||
# pip zsh completion end
|
||||
|
||||
if hash transmission-daemon 2>/dev/null; then
|
||||
transmission-daemon
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue