From a0f646e8c14db26eb13f8336a7cc8937d9c476b2 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 13 Aug 2025 10:45:05 +0200 Subject: Update work alias and git configs --- .bash_profile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index e9ba68e..8121b2f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -18,7 +18,7 @@ export HISTCONTROL=erasedups # remove consecutive history entries export EDITOR='vim' # Default editor export TERM="xterm-256color" export GREP_OPTIONS="--color=auto" -export HOMEBREW_GITHUB_API_TOKEN="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" +export HOMEBREW_GITHUB_API_TOKEN="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" export PS1="[a14m] \W \$ " export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 @@ -42,7 +42,6 @@ alias gpgkill='( gpg-connect-agent /bye )' alias cgit='docker run --name cgit -v $(pwd):/srv -p 1313:80 --rm -it cgit' -alias assume=". assume" # alias g='git' # # look up the original completion command and replace the last with the alias @@ -175,3 +174,8 @@ fi if command -v clang-format 1>/dev/null 2>&1; then export PATH="/opt/homebrew/opt/sphinx-doc/bin:$PATH" fi + +alias assume=". assume" +alias glab_assume="export GITLAB_TOKEN=$(pass mbition/git | grep token | awk '{ print $NF}')" +alias glab_su_assume="export GITLAB_TOKEN=$(pass mbition/git | grep su_token | awk '{ print $NF}')" +alias glab_baas_assume="export GITLAB_TOKEN=$(pass mbition/git | grep baas_token | awk '{ print $NF}')" -- cgit v1.2.3