1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-20 02:43:23 -07:00

silly export and a new alias

This commit is contained in:
Connor Olding 2017-02-24 15:23:26 -08:00
parent 4ae70262fd
commit 4cded095fe
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,10 @@ ADDPATH "$HOME/opt/local/bin"
# https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1380084
export SSH_AUTH_SOCK=0
# https://blog.packagecloud.io/eng/2017/02/21/set-environment-variable-save-thousands-of-system-calls/
# i haven't checked if this makes any difference personally, but may as well, eh?
export TZ=':/etc/localtime'
ify() {
[ $# -ge 2 ] || return
local ex=$1

View File

@ -139,7 +139,8 @@ for x in arith hex curl fc find ftp history let locate rsync scp sftp wget twitc
alias $x="noglob $x"
unset x
alias sc="~/sh/sc"
alias sc="~/sh/sc" # only runs in bash (for now), so be explicit with path
alias pl="print -l" # not in -shrc because this only makes sense with zsh
if [[ "$TERM" = xterm* ]]; then
precmd() { print -Pn "\e]2;%M: %~\a" }