Fix fish existing with PID active for fasd
This commit is contained in:
@ -1,4 +1,6 @@
|
|||||||
function __fasd_run -e fish_preexec -d "fasd takes record of the directories changed into"
|
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 &
|
if test $argv[1] != "exit"
|
||||||
end
|
command fasd --proc (command fasd --sanitize "$argv") > "/dev/null" 2>&1 &
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|||||||
8
config/fish/conf.d/plugin-direnv_init.fish
Normal file
8
config/fish/conf.d/plugin-direnv_init.fish
Normal 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
|
||||||
@ -5,3 +5,4 @@ fishgretel/fasd
|
|||||||
asdf-vm/asdf
|
asdf-vm/asdf
|
||||||
edc/bass
|
edc/bass
|
||||||
oh-my-fish/theme-mtahmed
|
oh-my-fish/theme-mtahmed
|
||||||
|
oh-my-fish/plugin-direnv
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
function de
|
function de
|
||||||
pushd ~/devel/elationemr/hippo
|
pushd ~/devel/elationemr/hippo-local
|
||||||
docker-compose $argv
|
docker-compose $argv
|
||||||
popd
|
popd
|
||||||
end
|
end
|
||||||
|
|||||||
3
config/fish/functions/wanip.fish
Normal file
3
config/fish/functions/wanip.fish
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
function wanip
|
||||||
|
dig +short myip.opendns.com @resolver1.opendns.com
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user