From 94fb4489afcf8bfb7607ceb711d3bb29fb64cdda Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Wed, 3 Nov 2021 15:35:34 -0400 Subject: clean up --- bash/.bash_profile | 1 + bash/.bashrc | 25 +++++++++++++++++++++++++ bash/.profile | 5 +++++ 3 files changed, 31 insertions(+) create mode 120000 bash/.bash_profile create mode 100644 bash/.bashrc create mode 100644 bash/.profile (limited to 'bash') diff --git a/bash/.bash_profile b/bash/.bash_profile new file mode 120000 index 0000000..aa7da3a --- /dev/null +++ b/bash/.bash_profile @@ -0,0 +1 @@ +.profile \ No newline at end of file diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..cc17a89 --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,25 @@ +# +# g3tchoo's bashrc +# + +# set prompt +export PS1='\[\e[0;93m\][\[\e[0;96m\]\u\[\e[0;95m\]@\[\e[0;96m\]\h \[\e[0;92m\]\w\[\e[0;93m\]]\[\e[0;90m\]$\[\e[0m\] ' + +# options +shopt -s autocd +shopt -s dotglob +shopt -s histappend +set -o emacs + +# defaults +export EDITOR='nvim' +export VISUAL='nvim' +export TERM=xterm-256color + +# alias +alias vim='nvim' +alias ls='exa' + +# Use bash-completion, if available +[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ + . /usr/share/bash-completion/bash_completion diff --git a/bash/.profile b/bash/.profile new file mode 100644 index 0000000..e297b42 --- /dev/null +++ b/bash/.profile @@ -0,0 +1,5 @@ +# add user's bin directory to path +if [ -d $HOME/.local/bin ] +then + export PATH=$HOME/.local/bin:$PATH +fi -- cgit v1.2.3