my dotz
0

Configure Feed

Select the types of activity you want to include in your feed.

Rename .env to .rc, misc other stuff

+1 -60
-59
.env
··· 1 - #!/bin/sh 2 - 3 - PS1='$(prompt) \$ ' 4 - 5 - # handle history like a not caveman 6 - # Avoid duplicates 7 - HISTCONTROL=ignoredups:erasedups 8 - # When the shell exits, append to the history file instead of overwriting it 9 - shopt -s histappend 10 - 11 - # After each command, append to the history file and reread it 12 - PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" 13 - 14 - # extend pa for git stuffs 15 - pa() { 16 - case $1 in 17 - g) 18 - cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}" 19 - git pull 20 - git add --all 21 - git commit -m '*' 22 - git push 23 - cd - 24 - ;; 25 - 26 - *) 27 - command pa "$@" 28 - ;; 29 - esac 30 - } 31 - 32 - # yep still needed 33 - if ls --version 2>&1 | grep -i gnu >/dev/null 34 - then 35 - alias ls='ls --color=auto ' 36 - elif ls --version 2>&1 | grep -i busybox >/dev/null 37 - then 38 - alias ls='ls --color=auto ' 39 - fi 40 - 41 - if [ -z "${SSH_AGENT_PID}" ] 42 - then 43 - if ! [ -e /tmp/ssh-agent-$USER ] 44 - then 45 - ssh-agent 2>/dev/null >/tmp/ssh-agent-$USER 46 - fi 47 - . /tmp/ssh-agent-$USER >/dev/null 48 - fi 49 - 50 - # launch alacritty with no GPU support if on old thinkpad 51 - if [ "$(hostname)" == 'nyx' ]; then 52 - export LIBGL_ALWAYS_SOFTWARE=1 53 - fi 54 - 55 - if [ "$(hostname)" == 'nostromo' ]; then 56 - if ! pgrep syncthing &> /dev/null; then 57 - syncthing --no-browser > /dev/null & 58 - fi 59 - fi
+1 -1
.profile
··· 1 1 export PATH=~/bin/$(hostname):~/bin/$(uname -m):~/bin:~/go/bin:$PATH 2 - export ENV=~/.env 2 + export ENV=~/.rc 3 3 export EDITOR=nvim 4 4 export LANG=en_US.UTF-8 5 5 export GDK_BACKEND=wayland