Add auto push directory stack to actually use the dirstack, change the 0x0 pastebin to a more general alias and add corrections
This commit is contained in:
parent
40aa1b85c7
commit
71b1feba6e
|
@ -8,7 +8,7 @@ zstyle ':completion:*' list-suffixes true
|
|||
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
zstyle ':completion:*' rehash true
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*' completer _complete _match _approximate
|
||||
zstyle ':completion:*' completer _complete _match _correct _approximate
|
||||
zstyle ':completion:*:match:*' original only
|
||||
zstyle ':completion:*:approximate:*' max-errors 1 numeric
|
||||
zstyle ':completion:*:functions' ignored-patterns '_*'
|
||||
|
|
|
@ -3,3 +3,4 @@ alias ytdldown='youtube-dl --no-part --newline -ixcw --audio-format best --add-m
|
|||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
alias paste="curl -F'file=@-'"
|
||||
|
|
|
@ -4,16 +4,6 @@ function gitsubrepo {
|
|||
function osutab {
|
||||
xinput set-prop 'UGTABLET 6 inch PenTablet Pen (0)' --type=float 153 3.5 0 -0.5 0 2.9 0 0 0 1
|
||||
}
|
||||
function tonullpointer {
|
||||
if [ -z ${1} ]; then
|
||||
RANDFN=${RANDOM}
|
||||
> /tmp/${RANDFN}
|
||||
curl -F"file=@/tmp/${RANDFN}" http://0x0.st
|
||||
rm /tmp/${RANDFN}
|
||||
else
|
||||
curl -F"file=@${1}" http://0x0.st
|
||||
fi
|
||||
}
|
||||
function ffmpeg-gif {
|
||||
ffmpeg -hwaccel vdpau -ss $2 -to $3 -i $1 -r 60 -pix_fmt bgr8 -vf "mpdecimate,normalize,scale=480:-1:flags=spline,split[s0][s1];[s0]palettegen=stats_mode=diff[p];[s1][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -loop 0 $4
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ typeset -g HISTFILE=~/.histfile
|
|||
typeset -g HISTSIZE=1000
|
||||
typeset -g SAVEHIST=1000
|
||||
typeset -g ZLE_RPROMPT_INDENT=0
|
||||
setopt appendhistory autocd extendedglob nomatch notify hist_ignore_all_dups hist_ignore_space nobeep
|
||||
setopt appendhistory autocd auto_pushd correct_all extendedglob nomatch notify hist_ignore_all_dups hist_ignore_space nobeep
|
||||
|
||||
typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true
|
||||
#typeset -g POWERLEVEL9K_MODE='nerdfont-fontconfig'
|
||||
|
|
Loading…
Reference in New Issue