Update bash and tmux config

This commit is contained in:
2026-03-09 09:27:31 +01:00
parent d35c790c9e
commit f85ccc9dfb
2 changed files with 18 additions and 4 deletions

View File

@@ -84,6 +84,11 @@ bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
#+END_SRC
** Kitty for SSH
#+begin_src bash
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
#+end_src
** Aliases
*** Better defaults for some commands
#+BEGIN_SRC bash
@@ -103,7 +108,7 @@ alias mbsync='mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc'
*** One letter aliases
#+BEGIN_SRC bash
alias r="ranger"
alias y="yazi"
alias t="tmux"
alias v="nvim"
alias sv='sudo -E nvim'
@@ -233,6 +238,11 @@ Force prompt to write history after every command. http://superuser.com/question
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
#+END_SRC
** Zoxide
#+BEGIN_SRC bash
eval "$(zoxide init bash)"
#+end_src
* =~/.bash_profile=
:PROPERTIES:
:header-args:bash: :tangle ~/.bash_profile
@@ -266,10 +276,10 @@ export SUDO_ASKPASS=~/.local/bin/askpass-rofi
** Export some default applications
#+begin_src bash
export EDITOR="nvim"
export TERMINAL="alacritty"
export TERMINAL="kitty -1"
export BROWSER="qutebrowser"
export READER="zathura"
export FILE="ranger"
export FILE="yazi"
#+END_SRC
** Exports
@@ -281,6 +291,10 @@ export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.cache"
#+end_src
#+begin_src bash
export XCURSOR_SIZE=24
#+end_src
#+begin_src bash
export LESSHISTFILE=-
export GNUPGHOME="$XDG_DATA_HOME/gnupg"

View File

@@ -6,7 +6,7 @@
* Line
#+begin_src conf
# Activate the status bar
set -g status "on"
set -g status off
# default statusbar color
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1