1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-11-28 15:25:55 +00:00

Fish: More function cleanup

This commit is contained in:
Phantop 2019-04-07 23:03:58 -04:00
parent 0cd388fe68
commit 6460d33152
39 changed files with 89 additions and 84 deletions

View file

@ -1,3 +1,3 @@
function D
cd $D $argv;
cd $D $argv
end

View file

@ -1,3 +1,4 @@
# Defined in /tmp/fish.pCCKfo/cd.fish @ line 2
function cd
builtin cd (realpath $argv)
builtin cd (realpath $argv 2> /dev/null)
end

View file

@ -1,3 +1,3 @@
function dot
cd ~/.dotfiles $argv;
cd ~/.dotfiles $argv
end

View file

@ -1,3 +1,3 @@
function fe
funced $argv;
funced $argv
end

View file

@ -1,3 +1,3 @@
function fs
funcsave $argv;
funcsave $argv
end

View file

@ -1,3 +1,3 @@
function g
git $argv;
git $argv
end

View file

@ -1,3 +1,3 @@
function ga
git commit -a $argv;
git commit -a $argv
end

View file

@ -1,3 +1,3 @@
function gad
git add $argv;
git add $argv
end

View file

@ -1,3 +1,3 @@
function gb
git branch $argv;
git branch $argv
end

View file

@ -1,3 +1,3 @@
function gc
git commit $argv;
git commit $argv
end

View file

@ -1,3 +1,3 @@
function gca
git commit --amend $argv;
git commit --amend $argv
end

View file

@ -1,3 +1,3 @@
function gch
git checkout $argv;
git checkout $argv
end

View file

@ -1,3 +1,3 @@
function gg
git clone $argv;
git clone $argv
end

View file

@ -1,3 +1,3 @@
function gl
git log $argv;
git log $argv
end

View file

@ -1,3 +1,3 @@
function gp
git pull $argv;
git pull $argv
end

View file

@ -1,3 +1,3 @@
function gpu
git push $argv;
git push $argv
end

View file

@ -1,3 +1,3 @@
function gpuf
git push -f $argv;
git push -f $argv
end

View file

@ -1,3 +1,3 @@
function gs
git status $argv;
git status $argv
end

View file

@ -1,3 +1,3 @@
function hardinfo
inxi -SPARM -GCDN -v1 -xGCRS -Fxz $argv;
inxi -SPARM -GCDN -v1 -xGCRS -Fxz $argv
end

View file

@ -1,3 +1,3 @@
function l
ls $argv;
ls $argv
end

View file

@ -0,0 +1,3 @@
function la
ls -a $argv
end

View file

@ -1,3 +1,4 @@
# Defined in /tmp/fish.kauClW/off.fish @ line 2
function off
shutdown $argv; exit
end

View file

@ -1,3 +1,3 @@
function sou
cd $D/Source $argv;
cd $D/Source $argv
end

View file

@ -1,3 +1,3 @@
function v
nvim $argv;
nvim $argv
end

View file

@ -1,3 +1,3 @@
function vi
nvim $argv;
nvim $argv
end