mirror of
https://github.com/notwa/rc
synced 2024-11-05 15:59:04 -08:00
superficial tweaks, and also remove tw
since twitch
is broken
This commit is contained in:
parent
7a1daf4fef
commit
1b0ac32463
1 changed files with 2 additions and 8 deletions
10
home/zshrc
10
home/zshrc
|
@ -184,7 +184,7 @@ bindkey '^[[1;8D' dummy # ctrl+alt+shift+arrow
|
|||
zle -N edit-command-line # new widget of the same function name
|
||||
bindkey '^Xe' edit-command-line # ctrl+x -> e
|
||||
|
||||
# these drive letters are to counteract my overzealous zsh completions.
|
||||
# these drive letters were once to counteract my overzealous zsh completions.
|
||||
hash -d c="/c"
|
||||
hash -d d="/d"
|
||||
[ -d /media/chibi ] && hash -d e="/media/chibi" || hash -d e="/e"
|
||||
|
@ -209,12 +209,6 @@ alias -g WELP='${welp[@]}' ### @ WELP - expand to C++ flags to enable a C++-as-C
|
|||
|
||||
alias sc="~/sh/sc" # only runs in bash (for now), so be explicit with path
|
||||
|
||||
# needs the "function" keyword or else zsh complains:
|
||||
function tw() { ### @-
|
||||
### invoke `twitch` as a job with both stdout and stderr silenced.
|
||||
twitch "$@" OMFG STFU &
|
||||
}
|
||||
|
||||
function {
|
||||
# initialize prompts.
|
||||
|
||||
|
@ -302,4 +296,4 @@ function {
|
|||
#compdef wat=which
|
||||
#. ~/.prezto-compinit
|
||||
|
||||
[ ! -e ~/.lol ] || . ~/.lol
|
||||
! [ -e ~/.lol ] || . ~/.lol
|
||||
|
|
Loading…
Reference in a new issue