diff --git a/.bash_profile b/.bash_profile new file mode 100755 index 0000000..841ef65 --- /dev/null +++ b/.bash_profile @@ -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 + diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..6436df3 --- /dev/null +++ b/.bashrc @@ -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"