Skip to content

Commit

Permalink
feat: add gitlab-ci-local & brew aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t committed Aug 30, 2024
1 parent 11ede62 commit 4f5aaa5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dot_zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ setopt appendhistory

# Brew is a package manager for macOS and Linux: https://brew.sh/
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
if command -v brew &> /dev/null; then
alias du-brew='du -sch $(brew --cellar)/*/* | sed "s|$(brew --cellar)/\([^/]*\)/.*|\1|" | sort -k1h'
fi

# Load the default .profile
[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'
Expand Down Expand Up @@ -177,6 +180,14 @@ then
alias gpsci='gp -o ci.skip'
fi

if command -v gitlab-ci-local &> /dev/null
then
export GCL_NEEDS='true'
# export GCL_FILE='.gitlab-ci-local.yml'
# export GCL_VARIABLE="IMAGE=alpine:latest"
alias gci='gitlab-ci-local'
fi

# chezmoi is a dotfile manager: https://www.chezmoi.io/
if command -v chezmoi &> /dev/null
then
Expand Down

0 comments on commit 4f5aaa5

Please sign in to comment.