Add and fix git function and remove greeting

This commit is contained in:
Tim 2025-05-15 15:39:55 +02:00
parent f60db4b111
commit c6e846a253
4 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
function gcb
git checkout -b $argv
end

View File

@ -0,0 +1,3 @@
function gco
git checkout $argv
end

View File

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