summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_profile8
-rw-r--r--.bashrc13
-rw-r--r--.config/mango/config.conf4
3 files changed, 15 insertions, 10 deletions
diff --git a/.bash_profile b/.bash_profile
index bdb270d..e8ae3be 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -27,8 +27,14 @@ export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_STATE_HOME="${HOME}/.local/state"
+# Declutter home
+export LESSHISTFILE="${XDG_STATE_HOME}/less/history"
+export NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
+export NSS_USER_DB_DIR="${XDG_DATA_HOME}/pki"
+export MYVIMRC="${XDG_CONFIG_HOME}/vim/vimrc"
+export VIMINIT="source $MYVIMRC"
+
# Auto-start wm on tty1
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec dbus-launch mango
fi
-
diff --git a/.bashrc b/.bashrc
index fdf628b..2446f85 100644
--- a/.bashrc
+++ b/.bashrc
@@ -9,12 +9,12 @@ elif [ -f /etc/bash_completion ]; then
fi
# History
-export HISTSIZE=2000
-export HISTFILESIZE=2000 # Equivalent to SAVEHIST
-export HISTCONTROL=ignorespace # Equivalent to setopt hist_ignore_space
+export HISTSIZE=10000
+export HISTFILESIZE=10000
+export HISTCONTROL=ignorespace
# Misc options
-shopt -s autocd # Equivalent to setopt autocd
+shopt -s autocd
# Disable Beep
bind 'set bell-style none'
@@ -25,7 +25,6 @@ alias mv="mv -iv"
alias rm="rm -Iv"
alias mkdir="mkdir -pv"
-
# Juice Aliases
alias ls='ls -hN --color=auto --group-directories-first'
alias grep='grep --color=auto'
@@ -33,14 +32,14 @@ alias diff='diff --color=auto'
alias ip='ip -color=auto'
alias tree='tree --gitignore -I .git'
-# Flow control
+# disable xon/xoff (C-s and C-q)
stty -ixon
+# set PS1
RESET='\[\e[0m\]'
BOLD='\[\e[1m\]'
COLOR_USER='\[\e[38;5;153m\]'
COLOR_DIR='\[\e[38;5;47m\]'
COLOR_GIT='\[\e[38;5;105m\]'
COLOR_END='\[\e[38;5;15m\]'
-
PS1="${BOLD}${COLOR_USER}\u ${COLOR_DIR}\w ${COLOR_GIT}\$(git-ps1)${COLOR_END}$ ${RESET}"
diff --git a/.config/mango/config.conf b/.config/mango/config.conf
index 38646ce..111875a 100644
--- a/.config/mango/config.conf
+++ b/.config/mango/config.conf
@@ -203,8 +203,8 @@ binds=SUPER+SHIFT,code:20,minimized,
bind=SUPER,minus,toggle_scratchpad
# scroller layout
-bind=ALT,e,set_proportion,1.0
-bind=ALT,x,switch_proportion_preset,
+# bind=ALT,e,set_proportion,1.0
+# bind=ALT,x,switch_proportion_preset,
# switch layout
bind=SUPER,n,switch_layout