Skip to content

Commit

Permalink
[deps] Disabling fasd __fasd_run function as workaround to conflict w…
Browse files Browse the repository at this point in the history
…ith fish pipe and redirection

issue fishgretel/fasd#17
  • Loading branch information
gullitmiranda committed Dec 31, 2020
1 parent 1c1596b commit ee77f49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .config/fish/conf.d/__fasd_run.fish
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
function __fasd_run -e fish_postexec -d "fasd takes record of the directories changed into"
set -lx RETVAL $status
if test $RETVAL -eq 0 # if there was no error
command fasd --proc (command fasd --sanitize (eval echo "$argv") | tr -s " " \n) > "/dev/null" 2>&1 &
end
end
# WORKAROUND: pipe and redirections conflict - https://github.com/fishgretel/fasd/issues/17

# function __fasd_run -e fish_postexec -d "fasd takes record of the directories changed into"
# set -lx RETVAL $status
# if test $RETVAL -eq 0 # if there was no error
# command fasd --proc (command fasd --sanitize (eval echo "$argv") | tr -s " " \n) > "/dev/null" 2>&1 &
# end
# end
6 changes: 3 additions & 3 deletions .config/fish/fish_plugins
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jethrokuan/fzf
jorgebucaran/fisher
edc/bass
jethrokuan/fzf
jhillyerd/plugin-git
fishgretel/fasd
sijad/gitignore
edc/bass
fishgretel/fasd

0 comments on commit ee77f49

Please sign in to comment.