mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat: add Dotbot
This commit is contained in:
6
functions/fcd.sh
Executable file
6
functions/fcd.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
# fcd - cd into directory
|
||||
|
||||
fcd() {
|
||||
local dir
|
||||
dir=$(find . -type d | sed '1d; s|^\./||' | fzf --preview 'tree -C {} | head -50') && cd "$dir"
|
||||
}
|
||||
Reference in New Issue
Block a user