diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-02-23 15:03:10 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-02-23 15:03:10 -0500 |
| commit | 36a274dbc066068ff25b839e21ce3b82ec292c88 (patch) | |
| tree | 7e3de8bafab79cfa86c93f467413b8f43273a8a5 /bash/dot-bashrc | |
| parent | b29aab34dff6b76fd8eb067d51d2fe41be594616 (diff) | |
Diffstat (limited to 'bash/dot-bashrc')
| -rw-r--r-- | bash/dot-bashrc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/bash/dot-bashrc b/bash/dot-bashrc index cc15ea0..8159104 100644 --- a/bash/dot-bashrc +++ b/bash/dot-bashrc @@ -9,6 +9,7 @@ export HISTCONTROL='ignoredups' export HISTFILESIZE=100000 export HISTSIZE=10000 +shopt -s histappend shopt -s autocd shopt -s checkwinsize shopt -u promptvars @@ -38,11 +39,17 @@ alias p='sudo pacman' alias SS='sudo systemctl' alias Su='systemctl --user' alias v='nvim' -alias vn='NVIM_APPNAME=nvim-min nvim' alias vv='uv run nvim' alias neofetch='fastfetch -c examples/13' -alias cvim='nvim -c "cd ~/.config/nvim" -c "Ex"' -alias hm='home-manager --flake ~/nix' +alias cvim='nvim -c "cd ~/.config/nvim" -c "Oil"' + +if [[ -f ~/.config/dir_colors ]]; then + eval "$(COLORTERM=1 dircolors -b -- ~/.config/dir_colors)" +else + eval "$(COLORTERM=1 dircolors -b)" +fi +export MANPAGER="sh -c 'bat --paging always --theme ansi -p -l man'" +# export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat --paging always --theme ansi -p -l man'" # source: https://wiki.archlinux.org/title/GnuPG#Configure_pinentry_to_use_the_correct_TTY GPG_TTY="$(tty)" @@ -53,7 +60,7 @@ gpg-connect-agent updatestartuptty /bye >/dev/null source "${XDG_CONFIG_HOME:-$HOME/.config}"/bash/functions.bash # shellcheck source=notes.bash -source "${XDG_CONFIG_HOME:-$HOME/.config}"/bash/notes.bash +# source "${XDG_CONFIG_HOME:-$HOME/.config}"/bash/notes.bash bind '"\C-o":"\C-ulf\C-m"' |
