Fix fish existing with PID active for fasd

This commit is contained in:
Colin Powell
2018-12-24 10:52:27 -05:00
parent a649d2942c
commit 9fc8b81fce
6 changed files with 20 additions and 5 deletions

View File

@ -1,4 +1,6 @@
function __fasd_run -e fish_preexec -d "fasd takes record of the directories changed into"
command fasd --proc (command fasd --sanitize "$argv") > "/dev/null" 2>&1 &
end
function __fasd_run -e fish_preexec -d "fasd takes record of the directories changed into"
if test $argv[1] != "exit"
command fasd --proc (command fasd --sanitize "$argv") > "/dev/null" 2>&1 &
end
end

View File

@ -0,0 +1,8 @@
if type -q direnv
function __direnv_export_eval --on-variable PWD
status --is-command-substitution; and return
eval (direnv export fish)
end
else
echo "Install direnv first! Check http://direnv.net" ^&1
end

View File

@ -5,3 +5,4 @@ fishgretel/fasd
asdf-vm/asdf
edc/bass
oh-my-fish/theme-mtahmed
oh-my-fish/plugin-direnv

View File

@ -1,5 +1,5 @@
function de
pushd ~/devel/elationemr/hippo
pushd ~/devel/elationemr/hippo-local
docker-compose $argv
popd
end

View File

@ -0,0 +1,3 @@
function wanip
dig +short myip.opendns.com @resolver1.opendns.com
end

View File

@ -27,3 +27,4 @@ package-lock.json
.rest
._*
.stignore
local-config.diff