mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
silly export and a new alias
This commit is contained in:
parent
4ae70262fd
commit
4cded095fe
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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" }
|
||||
|
|
Loading…
Add table
Reference in a new issue