commit 24c2c4b77e20cdb9e8e405eab3fcda6b61865007
parent d07b5a86b2fe122a05e7b51414171c20a54e53fa
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Thu, 20 Jan 2022 03:22:55 -0500
Add .profile (OpenBSD)
Diffstat:
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.profile b/.profile
@@ -0,0 +1,8 @@
+# .profile
+
+PATH=$HOME/.local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
+
+export LANG=en_US.UTF-8
+export ENV="$HOME/.shrc"
+export XCURSOR_SIZE=64
+export PATH HOME TERM
diff --git a/.shrc b/.shrc
@@ -4,12 +4,6 @@
# The almighty shell prompt
PS1='[`whoami`@`hostname -s` [1;37m`basename $PWD | sed "s,$(basename $HOME)\$,~,"`[00m]$ '
-# Environment variables
-export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
-if [ -d "$HOME/.local/bin/" ]; then
- export PATH="$HOME/.local/bin:$PATH"
-fi
-
# Functions
# Usage: <some_data> | pastesrv <filename>
pastesrv() {
@@ -29,3 +23,4 @@ alias cp='cp -iv'
alias mv='mv -iv'
alias vi='nvim'
alias copy='xclip -sel c'
+alias back="cd $OLDPWD"