Skip to content

Commit fedc577

Browse files
committed
Merge branch 'feature/command' into develop
2 parents 8014670 + 81c6cd1 commit fedc577

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

git/git-commands.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,11 @@ git checkout -b <branch-name> <commit-hash>
146146

147147
######################################################################
148148

149+
### remove a file history from the git repository
150+
149151
git ls-files
150152

153+
export FILE_PATH="/path/to/file"
151154
git filter-branch --force --index-filter \
152155
'git rm --cached --ignore-unmatch ${FILE_PATH}' \
153156
--prune-empty --tag-name-filter cat -- --all

go/go-commands.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ go run main.go
44

55
######################################################################
66

7+
### test
8+
9+
go clean -testcache
10+
711
go test ./...
812
go test ./... -v -coverprofile=cover.out
913

macos/zsh/.zshrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ eval "$(atuin init zsh --disable-up-arrow)"
77
source ${HOMEBREW_PREFIX}/opt/git-extras/share/git-extras/git-extras-completion.zsh
88
source ${HOMEBREW_PREFIX}/share/zsh-autosuggestions/zsh-autosuggestions.zsh
99
source ${HOMEBREW_PREFIX}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
10-
source ${HOME}/tools/zsh-plugins/alias.plugin.zsh
11-
source ${HOME}/tools/zsh-plugins/docker.plugin.zsh
12-
source ${HOME}/tools/zsh-plugins/docker-compose.plugin.zsh
10+
source ${HOME}/tools/zsh-plugins/load-zsh-plugins.sh
1311
FPATH=${HOMEBREW_PREFIX}/share/zsh-completions:${FPATH}
1412
autoload -Uz compinit
1513
compinit -C
@@ -31,6 +29,7 @@ alias vi="nvim"
3129
alias vim="nvim"
3230
alias vimdiff="nvim -d"
3331
alias cat="bat --style=plain --paging=never"
32+
alias fl="open -b com.binarynights.forklift-setapp"
3433
alias mysql="/opt/homebrew/opt/mysql-client@8.4/bin/mysql"
3534
alias mysqldump="/opt/homebrew/opt/mysql-client@8.4/bin/mysqldump"
3635

0 commit comments

Comments
 (0)