refactor bashconfigs

This commit is contained in:
Grigory Shipunov 2021-11-13 21:40:55 +01:00
parent f704456042
commit 19244e2b9e
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 11 additions and 5 deletions

View file

@ -9,4 +9,4 @@ fi
export EDITOR=nvim
if [ -e /home/0xa/.nix-profile/etc/profile.d/nix.sh ]; then . /home/0xa/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
if [ -e /home/gshipunov/.nix-profile/etc/profile.d/nix.sh ]; then . /home/gshipunov/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer

View file

@ -15,8 +15,13 @@ export PATH
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# Prompt
export PS1="\u@\h:\[\e[0;92m\]\w\[\e[0m\]$ "
# User specific aliases and functions
alias luamk="latexmk -pdf -pvc -interaction=nonstopmode -pdflatex=lualatex"
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc

1
bash/.bashrc.d/alias.sh Normal file
View file

@ -0,0 +1 @@
alias luamk="latexmk -pdf -pvc -interaction=nonstopmode -pdflatex=lualatex"