Compare commits
4 commits
ec75774597
...
1565ba2beb
Author | SHA1 | Date | |
---|---|---|---|
1565ba2beb | |||
0916d0d54a | |||
012f6d1936 | |||
fc2492504c |
2 changed files with 18 additions and 5 deletions
17
.zprofile
17
.zprofile
|
@ -8,11 +8,12 @@
|
||||||
# for ssh logins, install and configure the libpam-umask package.
|
# for ssh logins, install and configure the libpam-umask package.
|
||||||
#umask 022
|
#umask 022
|
||||||
|
|
||||||
export PAGER='less'
|
export PAGER='bat'
|
||||||
export EDITOR='em'
|
export EDITOR='em'
|
||||||
export VISUAL='em'
|
export VISUAL='em'
|
||||||
export BROWSER='qutebrowser'
|
export BROWSER='qutebrowser'
|
||||||
export TERMINAL='urxvtcd'
|
export TERMINAL='urxvtcd'
|
||||||
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
|
|
||||||
# make the password-store use primary instead of clipboard
|
# make the password-store use primary instead of clipboard
|
||||||
export PASSWORD_STORE_X_SELECTION=primary
|
export PASSWORD_STORE_X_SELECTION=primary
|
||||||
|
@ -25,12 +26,22 @@ if [ -n "$BASH_VERSION" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set PATH so it includes user's private bin if it exists
|
# if `$HOME/.local/bin` exists, add it to $PATH
|
||||||
if [ -d "$HOME/.local/bin" ] ; then
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set PATH so it includes user's .cargo/bin
|
# if `$HOME/.cargo/bin` exists, add it to $PATH
|
||||||
if [ -d "$HOME/.cargo/bin" ] ; then
|
if [ -d "$HOME/.cargo/bin" ] ; then
|
||||||
PATH="$HOME/.cargo/bin:$PATH"
|
PATH="$HOME/.cargo/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# if `$HOME/go/bin` exists, add it to $GOPATH
|
||||||
|
if [ -d "$HOME/go/bin" ] ; then
|
||||||
|
GOPATH="$HOME/go/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if `/usr/local/go/bin` exists, add it and $GOPATH to $PATH
|
||||||
|
if [ -d "/usr/local/go/bin" ] ; then
|
||||||
|
PATH="/usr/local/go/bin:$GOPATH:$PATH"
|
||||||
|
fi
|
||||||
|
|
6
.zshenv
6
.zshenv
|
@ -70,5 +70,7 @@ alias wttr='curl https://wttr.in/Salzburg'
|
||||||
#
|
#
|
||||||
alias valgrind='valgrind --track-origins=yes --leak-check=full'
|
alias valgrind='valgrind --track-origins=yes --leak-check=full'
|
||||||
|
|
||||||
# use bat for showing manpages (for colors)
|
#
|
||||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
# Cargo env
|
||||||
|
#
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
|
Loading…
Reference in a new issue