Add and fix git function and remove greeting
This commit is contained in:
parent
f60db4b111
commit
c6e846a253
@ -2,6 +2,9 @@ if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
|
||||
set fish_greeting
|
||||
|
||||
# setup path
|
||||
fish_add_path $HOME/.local/bin
|
||||
fish_add_path $HOME/bin
|
||||
fish_add_path /snap/bin
|
||||
|
3
fish/.config/fish/functions/gcb.fish
Normal file
3
fish/.config/fish/functions/gcb.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function gcb
|
||||
git checkout -b $argv
|
||||
end
|
3
fish/.config/fish/functions/gco.fish
Normal file
3
fish/.config/fish/functions/gco.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function gco
|
||||
git checkout $argv
|
||||
end
|
@ -1,3 +1,3 @@
|
||||
function gp
|
||||
function gl
|
||||
git pull $argv
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user