Skip to content

Commit

Permalink
Reorg profile vs bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
steveno committed Mar 22, 2024
1 parent fdc8e3b commit d459915
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 7 additions & 1 deletion dot_bash_steveno
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ if [[ $DISPLAY ]] && [[ -t 1 ]]; then
[[ -z "$TMUX" ]] && exec tmux
fi

export PATH=$PATH:/home/steveno/.local/bin
export HISTIGNORE='ls:ll:l:cd:pwd:bg:fg:history'
export HISTSIZE=100000
export HISTFILESIZE=10000000
Expand All @@ -22,3 +21,10 @@ shopt -s histverify

# Setup mise
eval "$(/home/steveno/.local/bin/mise activate bash)"

# opam configuration
test -r /home/steveno/.opam/opam-init/init.sh && . /home/steveno/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

# Setup gpg
export GPG_TTY=$(tty)
gpg-connect-agent updatestartupttyp /bye >/dev/null
6 changes: 2 additions & 4 deletions dot_profile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ if [ -n "$BASH_VERSION" ]; then
fi
fi

export GPG_TTY=$(tty)
# Ensure my local bin is in the path
export PATH=$PATH:/home/steveno/.local/bin

# rust
export PATH="$HOME/.cargo/bin:$PATH"

# opam configuration
test -r /home/steveno/.opam/opam-init/init.sh && . /home/steveno/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

0 comments on commit d459915

Please sign in to comment.