added .profile - misc cleanup

This commit is contained in:
Radar231 2023-12-20 11:17:21 -05:00
parent 6060b3dd08
commit 74a15c171a
3 changed files with 35 additions and 6 deletions

View File

@ -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"

31
.profile Normal file
View File

@ -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"

2
.vimrc
View File

@ -39,7 +39,7 @@ set t_Co=256
color calmar256-dark
set background=dark
" from no-plugin page
" from no_plugins page (https://github.com/changemewtf/no_plugins)
set path+=**
set wildmenu