small changes to local config
This commit is contained in:
parent
74bff799db
commit
9f74d21127
@ -3,7 +3,8 @@
|
|||||||
# This file is kept under git version control
|
# This file is kept under git version control
|
||||||
|
|
||||||
# To make any local (non-tracked) edits or configurations,
|
# To make any local (non-tracked) edits or configurations,
|
||||||
# please edit `~/.local/.bashrc`, which is sourced from this file.
|
# please edit `~/.local/.bashrc` or `~/.local/.env`, which
|
||||||
|
# are both sourced from this file.
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
@ -15,20 +16,18 @@ esac
|
|||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
export EDITOR="/usr/bin/vim"
|
export EDITOR="/usr/bin/vim"
|
||||||
export VISUAL="/usr/bin/vim"
|
export VISUAL="/usr/bin/vim"
|
||||||
|
|
||||||
# bash history options
|
# bash history options
|
||||||
export HISTSIZE= ;
|
export HISTSIZE= ;
|
||||||
export HISTFILESIZE= ;
|
export HISTFILESIZE= ;
|
||||||
export HISTCONTROL="ignoreboth:erasedups"
|
export HISTCONTROL="ignoreboth:erasedups"
|
||||||
export HISTTIMEFORMAT="%F %T "
|
export HISTTIMEFORMAT="%F %T "
|
||||||
|
|
||||||
# shell options
|
# shell options
|
||||||
shopt -s checkhash
|
shopt -s checkhash
|
||||||
shopt -s cdspell
|
shopt -s cdspell
|
||||||
shopt -s dirspell
|
shopt -s dirspell
|
||||||
|
|
||||||
# set local env variables
|
# source (overwrite) local env variables
|
||||||
[ -r "~/.local/.env" ] && source "~/.local/.env"
|
[ -r "$HOME/.local/.env" ] && source "$HOME/.local/.env"
|
||||||
|
|
||||||
# ls options
|
# ls options
|
||||||
ls --version &> /dev/null
|
ls --version &> /dev/null
|
||||||
@ -381,7 +380,7 @@ esac
|
|||||||
[ -d "$HOME/.local/bin" ] && appendpath "$HOME/.local/bin"
|
[ -d "$HOME/.local/bin" ] && appendpath "$HOME/.local/bin"
|
||||||
[ -d "$HOME/.local/scripts" ] && appendpath "$HOME/.local/scripts"
|
[ -d "$HOME/.local/scripts" ] && appendpath "$HOME/.local/scripts"
|
||||||
|
|
||||||
# local rc (overwrite)
|
# source local rc (overwrite)
|
||||||
[ -r "$HOME/.local/.bashrc" ] && source "$HOME/.local/.bashrc"
|
[ -r "$HOME/.local/.bashrc" ] && source "$HOME/.local/.bashrc"
|
||||||
|
|
||||||
# fzf
|
# fzf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user