style: format fish files with fish_indent
This commit is contained in:
@@ -27,12 +27,12 @@ function branch --description 'Switch to or create a git branch'
|
||||
echo "Not a git repo."
|
||||
return 1
|
||||
end
|
||||
|
||||
|
||||
# Check if the branch already exists locally
|
||||
if git show-ref --verify --quiet refs/heads/$argv[1]
|
||||
git checkout $argv
|
||||
else
|
||||
# If it doesn't exist, create it
|
||||
git checkout -b $argv
|
||||
end
|
||||
git checkout -b $argv
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user