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"
|
||||
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
|
||||
|
||||
|
||||
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
|
||||
edc/bass
|
||||
oh-my-fish/theme-mtahmed
|
||||
oh-my-fish/plugin-direnv
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
function de
|
||||
pushd ~/devel/elationemr/hippo
|
||||
pushd ~/devel/elationemr/hippo-local
|
||||
docker-compose $argv
|
||||
popd
|
||||
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