diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-08-29 19:28:47 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-08-29 19:28:47 +0200 |
| commit | eac660293c025232b7e45a392bbdf5b19af72331 (patch) | |
| tree | 51a87bc29f7ac1964e82a4a0a398a3a55f453390 /.env | |
| parent | 887d5cdbc1b77578026845d6996a372b2ed991ee (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-- | .env | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 + |
