Added cdf -> cd with the power of fzf
This commit is contained in:
@@ -36,3 +36,6 @@ alias mempigs='ps aux | awk '\''{print $6/1024 " MB\t\t" $11 " " $12}'\'' | sor
|
|||||||
# Edit files with vim/fzf
|
# Edit files with vim/fzf
|
||||||
alias vfz='vim "`fzf`"'
|
alias vfz='vim "`fzf`"'
|
||||||
alias vimf='vim "`fzf`"'
|
alias vimf='vim "`fzf`"'
|
||||||
|
|
||||||
|
# CD with the help of fzf
|
||||||
|
alias cdf='cd ~ && cd "$(find . -type d -print0 | fzf --read0 --print0)"'
|
||||||
|
|||||||
Reference in New Issue
Block a user