diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..f75cb46 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,12 @@ +# .bash_profile + +# Get the aliases and functions +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi + +# User specific environment and startup programs + +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 diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..4b08352 --- /dev/null +++ b/.bashrc @@ -0,0 +1,22 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +# User specific environment +if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] +then + PATH="$HOME/.local/bin:$HOME/bin:$PATH" +fi +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"