diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-05-16 09:03:02 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-05-16 09:03:02 +0800 |
commit | a386999de6393a9b1c1af5465317dd42c1cbe4c4 (patch) | |
tree | ce74c8da89856ee125a55b1a16dbad7405df8aca | |
parent | 4e57f2d36fc7f97e3da8d18173e5df4e5039acab (diff) |
update
-rw-r--r-- | tigrc | 2 | ||||
-rwxr-xr-x | tools/init/load-settings.sh | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -247,7 +247,7 @@ bind status c @git commit -m "%(prompt Enter commit message: )" | |||
247 | bind status a !>git commit --amend --allow-empty | 247 | bind status a !>git commit --amend --allow-empty |
248 | bind status p ?>sh -c "git commit -m 'update' && git push" # quick push | 248 | bind status p ?>sh -c "git commit -m 'update' && git push" # quick push |
249 | bind status d ?>rm %(file) | 249 | bind status d ?>rm %(file) |
250 | bind status D ?>git clean -dfx | 250 | bind status D ?>git clean -df |
251 | 251 | ||
252 | # solve conflict | 252 | # solve conflict |
253 | bind status U ?>git reset --hard | 253 | bind status U ?>git reset --hard |
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh index 92e21fa..9592b50 100755 --- a/tools/init/load-settings.sh +++ b/tools/init/load-settings.sh | |||
@@ -34,5 +34,8 @@ PATH=$PATH:$HOME/go/bin | |||
34 | # android-studio | 34 | # android-studio |
35 | PATH=$PATH:$HOME/android-studio/bin | 35 | PATH=$PATH:$HOME/android-studio/bin |
36 | 36 | ||
37 | # cargo | ||
38 | PATH=$PATH:$HOME/.cargo/bin | ||
39 | |||
37 | # Run something after exit shell | 40 | # Run something after exit shell |
38 | trap 'exit.sh' EXIT | 41 | trap 'exit.sh' EXIT |