summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-13 10:45:05 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-13 10:45:05 +0200
commita0f646e8c14db26eb13f8336a7cc8937d9c476b2 (patch)
tree85b878f58f8b719a0a063003c500c3adeb292420 /.bash_profile
parentb5647650467f9cced85207e161b09aa632fa0696 (diff)
Update work alias and git configs
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile8
1 files changed, 6 insertions, 2 deletions
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}')"