summaryrefslogtreecommitdiff
path: root/.env
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-08-29 19:28:47 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-08-29 19:28:47 +0200
commiteac660293c025232b7e45a392bbdf5b19af72331 (patch)
tree51a87bc29f7ac1964e82a4a0a398a3a55f453390 /.env
parent887d5cdbc1b77578026845d6996a372b2ed991ee (diff)
Reorganize bash startup files and minor fixes.
- Move PATH exports to .env - Move aliases to .env - Avoid loading .env twice - Load .bashrc only on login shell and bash only
Diffstat (limited to '.env')
-rw-r--r--.env18
1 files changed, 18 insertions, 0 deletions
diff --git a/.env b/.env
index d3f8923..ecf316c 100644
--- a/.env
+++ b/.env
@@ -1,3 +1,4 @@
+# .env
PS1='$(prompt)'
if [ -z "${SSH_AGENT_PID}" ]; then
@@ -25,8 +26,25 @@ alias githome='git --git-dir ~/.githome --work-tree ~'
alias ls='ls --color -A --group-directories-first --sort=extension'
alias recent='ls -ltch'
+alias gl='git pull'
+alias gcm='git checkout master'
+alias gco='git checkout'
+alias gst='git status'
# Use correct TTY for GPG Pinentry
export GPG_TTY="$(tty)"
gpg-connect-agent updatestartuptty /bye >/dev/null
export TERM=xterm
+export PATH=$HOME/.local/bin:$PATH
+export PATH=$HOME/.local/bin/`hostname`:$PATH
+export PATH=$HOME/.local/bin/`uname -m`:$PATH
+export PATH=$HOME/.cargo/bin:$PATH
+export GOPATH="$HOME/.local/share/go"
+export PATH=$GOPATH/bin:$PATH
+export PATH=$HOME/.local/bin:$PATH
+export PATH=$HOME/.local/bin/`hostname`:$PATH
+export PATH=$HOME/.local/bin/`uname -m`:$PATH
+export PATH=$HOME/.cargo/bin:$PATH
+export GOPATH="$HOME/.local/share/go"
+export PATH=$GOPATH/bin:$PATH
+