added history and completions settings
This commit is contained in:
parent
1ab03dcd77
commit
493ada2c34
@ -1,12 +1,18 @@
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
# History settings ########################################
|
||||
HISTCONTROL=ignoreboth
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
###########################################################
|
||||
|
||||
export PS1='\[\e[0;33m\][\t] \[\e[0;32m\][\W]\[\e[0m\] \[\e[0;31m\]> \[\e[0m\]'
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
|
||||
# PMNG ###################################################
|
||||
# PMNG ####################################################
|
||||
export PMNG_PWD_FILE="$HOME/Vault/.password.yml"
|
||||
export PMNG_TIMEOUT=10
|
||||
###########################################################
|
||||
@ -47,3 +53,13 @@ if [ -d "/opt/sublime_text-4126/" ]; then
|
||||
alias subl='/opt/sublime_text-4126/sublime_text'
|
||||
fi
|
||||
###########################################################
|
||||
|
||||
# Enable programmable completion ##########################
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
###########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user