Move from omf to fisher for fishshell

This commit is contained in:
Colin Powell
2018-12-05 23:28:44 -05:00
parent a90fcfab56
commit 162fb6f973
24 changed files with 1191 additions and 7 deletions

View File

@ -0,0 +1,11 @@
# Function to filter through recently used directories
function zd --argument-names 'name'
set -l zd_command "command fasd -Rdl $name 2> /dev/null"
fish -c "$zd_command" | __fzfcmd -1 -0 --no-sort -m | read -la select
if test ! (count $select) -eq 0
cd "$select"
end
end
# Set above function to even shorter j alias
alias j "zd"