diff options
| author | Anton Bobov <anton@bobov.name> | 2023-08-28 00:04:05 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2023-08-28 00:04:05 +0500 |
| commit | 4417d432399adde0aecbd0f8a8bba1ad00162677 (patch) | |
| tree | 8757d38ce386c25e183dd2fa0690b8491934d472 | |
| parent | 47139223493040b51f6d4168bad7b993b5e7a2b2 (diff) | |
Updates
| -rw-r--r-- | files/.gitconfig | 3 | ||||
| -rw-r--r-- | files/.zsh/rc/S50_aliases | 6 | ||||
| -rw-r--r-- | files/.zsh/rc/S50_functions | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/files/.gitconfig b/files/.gitconfig index 97de1b8..277fc43 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -4,6 +4,8 @@ signingkey = B4DCCEF7CE0E6AF3 [commit] gpgsign = true +[tag] + gpgsign = true [http] sslVerify = false [color "diff-highlight"] @@ -113,6 +115,7 @@ rebase = true [push] followTags = true + gpgSign = if-asked [guitool "meld"] cmd = meld $FILENAME noconsole = yes diff --git a/files/.zsh/rc/S50_aliases b/files/.zsh/rc/S50_aliases index de0c45d..06ee4c0 100644 --- a/files/.zsh/rc/S50_aliases +++ b/files/.zsh/rc/S50_aliases @@ -37,16 +37,18 @@ alias zgrep='zgrep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' alias fn='find . -name' -alias ip='ip -color' +alias ip='ip -color -brief' alias dmesg='dmesg --human' alias ag="ag --page less" alias wcc="wc -c | numfmt --to=si" alias nf="numfmt --from=auto --to=iec" +alias tree="tree --dirsfirst" alias crontab='crontab -i' alias rm='rm --interactive=once' +is_command trash-put && alias rm='trash-put' alias mv='mv --interactive' -alias cp='cp --interactive --recursive' +alias cp='cp --interactive --recursive --reflink=auto' alias mkdir='mkdir -pv' if is_command colordiff; then alias diff='colordiff -u' diff --git a/files/.zsh/rc/S50_functions b/files/.zsh/rc/S50_functions index b9bd045..f510bd3 100644 --- a/files/.zsh/rc/S50_functions +++ b/files/.zsh/rc/S50_functions @@ -1,6 +1,7 @@ mcd() { - mkdir -p "$1" && cd "$1" + [ $# = 1 ] && mkdir -p -- "$1" && cd -- "$1" } +compdef _directories mcd ppgrep() { pgrep "$@" | xargs --no-run-if-empty ps fp |
