added .profile - misc cleanup
This commit is contained in:
parent
6060b3dd08
commit
74a15c171a
8
.bashrc
8
.bashrc
|
@ -111,15 +111,13 @@ if ! shopt -oq posix; then
|
|||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
# BEGIN ANSIBLE MANAGED BLOCK (.bashrc env vars)
|
||||
|
||||
export EDITOR="vim"
|
||||
# END ANSIBLE MANAGED BLOCK (.bashrc env vars)
|
||||
# BEGIN ANSIBLE MANAGED BLOCK (.bashrc sops/age env vars)
|
||||
|
||||
export SOPS_AGE_RECIPIENTS="age1x7aazmg26qf5vm7hnvxjqy77yvv5lc7jez7untjfnwrg8pa6aqysxlaa42"
|
||||
export SOPS_AGE_KEY_FILE="${HOME}/bin/age-key.txt"
|
||||
# END ANSIBLE MANAGED BLOCK (.bashrc sops/age env vars)
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
# [ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
||||
# Install Ruby Gems to ~/gems
|
||||
export GEM_HOME="$HOME/gems"
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
# ~/.profile: executed by the command interpreter for login shells.
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||
# exists.
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||
# the files are located in the bash-doc package.
|
||||
|
||||
# the default umask is set in /etc/profile; for setting the umask
|
||||
# for ssh logins, install and configure the libpam-umask package.
|
||||
#umask 022
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
# add crossover bin to path (opt/cxoffice/bin)
|
||||
PATH="$PATH:/opt/cxoffice/bin"
|
||||
|
Loading…
Reference in New Issue