my dotz
0

Configure Feed

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

1#!/bin/sh 2 3PS1='$(prompt) \$ ' 4 5# make history infinite, dedup'd, and sync'd between terms 6HISTFILESIZE=infinite 7HISTCONTROL=ignoredups:erasedups 8HISTFILE=~/.sh_eternal_history 9shopt -s histappend 10PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" 11 12# extend pa for git stuffs 13# meh i don't like this at all tbh 14pa() { 15 case $1 in 16 g) 17 cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}" 18 git pull 19 git add --all 20 git commit -m '*' 21 git push 22 cd - 23 ;; 24 25 *) 26 command pa "$@" 27 ;; 28 esac 29} 30 31if ls --version 2>&1 | grep -iE "gnu|busybox" > /dev/null; then 32 alias ls='ls --color=auto ' 33fi 34 35if [ -z "${SSH_AGENT_PID}" ] 36then 37 if ! [ -e /tmp/ssh-agent-$USER ] 38 then 39 ssh-agent 2>/dev/null >/tmp/ssh-agent-$USER 40 fi 41 . /tmp/ssh-agent-$USER >/dev/null 42fi 43 44if [ "$TERM" = "foot" ]; then 45 alias ssh='TERM=xterm-256color ssh' 46fi