refactor bashconfigs
This commit is contained in:
parent
f704456042
commit
19244e2b9e
3 changed files with 11 additions and 5 deletions
|
@ -9,4 +9,4 @@ fi
|
||||||
|
|
||||||
export EDITOR=nvim
|
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
|
||||||
|
|
13
bash/.bashrc
13
bash/.bashrc
|
@ -15,8 +15,13 @@ export PATH
|
||||||
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||||
# export SYSTEMD_PAGER=
|
# export SYSTEMD_PAGER=
|
||||||
|
|
||||||
# Prompt
|
|
||||||
export PS1="\u@\h:\[\e[0;92m\]\w\[\e[0m\]$ "
|
|
||||||
|
|
||||||
# User specific aliases and functions
|
# 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
1
bash/.bashrc.d/alias.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
alias luamk="latexmk -pdf -pvc -interaction=nonstopmode -pdflatex=lualatex"
|
Loading…
Add table
Reference in a new issue