ref: 8a69eb5937efd1dff41d5e99a119cb20a41d49d1 dotfiles/.env -rw-r--r-- 429 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
if [ "$(uname -m)" = "x86_64" ]
then
	PS1='$(~/bin/prompt) \$ '
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

if ls --version 2>/dev/null | grep -i gnu >/dev/null
then
	alias ls='ls --color'
fi
alias gdb='gdb -q'
alias gdbs='gdbserver localhost:12345'
alias gdbr='gdb -q -ex "target remote localhost:12345"'