Clean up fish functions rarely used #fishshell
This commit is contained in:
5
fish/.config/fish/functions/dcedj.fish
Normal file
5
fish/.config/fish/functions/dcedj.fish
Normal file
@ -0,0 +1,5 @@
|
||||
function dcedj
|
||||
pushd ~/src/elation/hippo
|
||||
docker-compose exec hippo django-admin $argv
|
||||
popd
|
||||
end
|
||||
@ -1,4 +1,4 @@
|
||||
function dcet-dj
|
||||
function dcetdj
|
||||
pushd ~/src/elation/hippo-tethys
|
||||
docker-compose exec hippo django-admin $argv
|
||||
popd
|
||||
@ -1,5 +0,0 @@
|
||||
function el8log
|
||||
pushd ~/devel/elationemr/hippo/
|
||||
docker-compose logs --tail=50 -f hippo
|
||||
popd
|
||||
end
|
||||
@ -1,5 +0,0 @@
|
||||
function el8up
|
||||
pushd ~/devel/elationemr/hippo
|
||||
docker-compose up -d
|
||||
popd
|
||||
end
|
||||
@ -1,17 +0,0 @@
|
||||
# Display the compressed current working path on the right
|
||||
# If the previous command returned any kind of error code, display that too
|
||||
|
||||
function fish_right_prompt
|
||||
set -l last_status $status
|
||||
set -l cyan (set_color -o cyan)
|
||||
set -l red (set_color -o red)
|
||||
set -l normal (set_color normal)
|
||||
|
||||
echo -n -s $cyan (prompt_pwd)
|
||||
|
||||
if test $last_status -ne 0
|
||||
set_color red
|
||||
printf ' %d' $last_status
|
||||
set_color normal
|
||||
end
|
||||
end
|
||||
@ -1,3 +0,0 @@
|
||||
function getWanIp
|
||||
dig +short myip.opendns.com @resolver1.opendns.com
|
||||
end
|
||||
Reference in New Issue
Block a user