summaryrefslogtreecommitdiff
path: root/home/xyz/.local/share/weechat
AgeCommit message (Expand)Author
2021-12-11weechat-matrix autoload symlinkxyz
#!/bin/sh export XDG_CONFIG_HOME="$HOME/.config/" export XDG_CACHE_HOME="$HOME/.cache/" export XDG_DATA_HOME="$HOME/.local/share/" export XDG_STATE_HOME="$HOME/.local/state/" . "$XDG_CONFIG_HOME/user-dirs.dirs" export XDG_DESKTOP_DIR export XDG_DOWNLOAD_DIR export XDG_TEMPLATES_DIR export XDG_PUBLICSHARE_DIR export XDG_DOCUMENTS_DIR export XDG_MUSIC_DIR export XDG_PICTURES_DIR export XDG_VIDEOS_DIR PATH="$(find "$HOME/.local/bin" -type d -exec printf '%s:' '{}' \+)$PATH" export PATH export HISTSIZE=100000 export HISTFILESIZE=100000 export HISTCONTROL=ignorespace # sqlite uses VISUAL for the edit() SQL function default text editor # https://sqlite.org/cli.html export VISUAL=nvim export EDITOR=nvim export PAGER=less # -X seems can keep the output if exit less? # -F is useful when sdcv need user to manually select similar word, after selection if no -F less will not quit if one screen # but other situation seems less use -F as default? # steal from sdcv arch wiki # CALCURSE_PAGER less can't use -F, else ? and > hotkey will only blink the text # -x4 to use 4 spaces instead of default 8. Even if I specify `tabs 4` in .bashrc, this is still needed for less.