small pixel drawing of a pufferfish dotfiles

Rename .env to .rc, misc other stuff
Jes Olson jolson@digitalocean.com
Tue, 12 Oct 2021 16:08:08 -0500
commit

e32649a2f36f01529e516f4028dd7bcde6f1426c

parent

b3820372ec1d6f7df3d57a67d711d1ba79035471

2 files changed, 1 insertions(+), 60 deletions(-)

jump to
D .env

@@ -1,59 +0,0 @@

-#!/bin/sh - -PS1='$(prompt) \$ ' - -# handle history like a not caveman -# Avoid duplicates -HISTCONTROL=ignoredups:erasedups -# When the shell exits, append to the history file instead of overwriting it -shopt -s histappend - -# After each command, append to the history file and reread it -PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" - -# extend pa for git stuffs -pa() { - case $1 in - g) - cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}" - git pull - git add --all - git commit -m '*' - git push - cd - - ;; - - *) - command pa "$@" - ;; - esac -} - -# yep still needed -if ls --version 2>&1 | grep -i gnu >/dev/null -then - alias ls='ls --color=auto ' -elif ls --version 2>&1 | grep -i busybox >/dev/null -then - alias ls='ls --color=auto ' -fi - -if [ -z "${SSH_AGENT_PID}" ] -then - if ! [ -e /tmp/ssh-agent-$USER ] - then - ssh-agent 2>/dev/null >/tmp/ssh-agent-$USER - fi - . /tmp/ssh-agent-$USER >/dev/null -fi - -# launch alacritty with no GPU support if on old thinkpad -if [ "$(hostname)" == 'nyx' ]; then - export LIBGL_ALWAYS_SOFTWARE=1 -fi - -if [ "$(hostname)" == 'nostromo' ]; then - if ! pgrep syncthing &> /dev/null; then - syncthing --no-browser > /dev/null & - fi -fi
M .profile.profile

@@ -1,5 +1,5 @@

export PATH=~/bin/$(hostname):~/bin/$(uname -m):~/bin:~/go/bin:$PATH -export ENV=~/.env +export ENV=~/.rc export EDITOR=nvim export LANG=en_US.UTF-8 export GDK_BACKEND=wayland