fix(git): fixed absolute path to relative path

This commit is contained in:
2022-06-08 21:58:11 +08:00
parent 2267e39e28
commit 6cc8e616c3
2 changed files with 4 additions and 9 deletions

View File

@@ -12,19 +12,13 @@
remote = origin
merge = master
[core]
excludesfile = /Users/rack/.gitignore_global
excludesfile = ~/.gitignore_global
fileMode = false
ignorecase = false
editor = nvim
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[github]
user = racklin@gmail.com
[ghq]
root = ~/.ghq
root = ~/ghq
[init]
defaultBranch = master

View File

@@ -11,8 +11,9 @@ threshold = 30
style = "bold yellow"
[directory]
fish_style_pwd_dir_length = 1
fish_style_pwd_dir_length = 2
truncation_symbol = "…/"
truncation_length = 4
[hostname]
ssh_only = true