mirror of
https://github.com/IlanCosman/tide.git
synced 2024-09-20 05:37:40 +03:00
Actually fix git test
This commit is contained in:
parent
8edd4772d7
commit
5ca5eb7fc3
@ -4,15 +4,16 @@ function _git
|
||||
_tide_decolor (_tide_item_git)
|
||||
end
|
||||
|
||||
# Not in git repo
|
||||
_git # CHECK:
|
||||
|
||||
# Initial setup
|
||||
# Create directory
|
||||
set -l dir ~/gitItemTest
|
||||
|
||||
rm -rf $dir
|
||||
mkdir -p $dir
|
||||
cd $dir
|
||||
|
||||
# Not in git repo
|
||||
_git # CHECK:
|
||||
|
||||
# Create git repo and main branch
|
||||
git init >/dev/null 2>&1
|
||||
git checkout -b main >/dev/null 2>&1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user