shell: add a4i alias and set MANPATH
This commit is contained in:
@@ -17,18 +17,22 @@ export VISUAL=nvim
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
for dir in ~/.cargo/bin ~/go/bin ~/.local/bin ~/bin; do
|
||||
if [ -d "$dir" ]; then
|
||||
PATH="$dir:$PATH"
|
||||
PATH="$dir:$PATH"
|
||||
fi
|
||||
done
|
||||
|
||||
export PATH
|
||||
|
||||
if [ -d ~/.local/share/man ]; then
|
||||
export MANPATH="$HOME/.local/share/man:$MANPATH"
|
||||
fi
|
||||
|
||||
# start X or Hyprland at login
|
||||
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
|
||||
if which /usr/bin/sx > /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user