This commit is contained in:
Cat /dev/Nulo 2022-01-14 22:16:14 -03:00
parent 011089e086
commit 4b2555e031
2 changed files with 22 additions and 0 deletions

11
.bash_profile Executable file
View file

@ -0,0 +1,11 @@
. ~/.profile
if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
mkdir -p "$HOME/.local/share/river"
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
exec env \
XDG_CURRENT_DESKTOP=river \
XDG_SESSION_DESKTOP=river \
dbus-run-session river -log-level debug >"$log" 2>&1
fi
. ~/.bashrc

11
.bashrc Normal file
View file

@ -0,0 +1,11 @@
. ~/.profile
export HISTSIZE=10000
export HISTFILESIZE=10000
shopt -s histappend # Append to history file instead of overwriting
shopt -s cmdhist # Write a multi line command in a single line
PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # Save history on every command
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
alias ssh='TERM=xterm-256color ssh'
alias e="$EDITOR"