Add and fix git function and remove greeting
This commit is contained in:
@@ -2,6 +2,9 @@ if status is-interactive
|
|||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set fish_greeting
|
||||||
|
|
||||||
|
# setup path
|
||||||
fish_add_path $HOME/.local/bin
|
fish_add_path $HOME/.local/bin
|
||||||
fish_add_path $HOME/bin
|
fish_add_path $HOME/bin
|
||||||
fish_add_path /snap/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
|
git pull $argv
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user