Added shebangs, shellcheck configuration line
This commit is contained in:
parent
e966123170
commit
05d2cbd709
8 changed files with 20 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
alias cdiff="colordiff"
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
alias bathelp='bat --plain --language=help'
|
||||
unalias help
|
||||
help() {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; }
|
||||
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
# this is ripped off serverfault https://serverfault.com/a/90401
|
||||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
# this is ripped off serverfault https://serverfault.com/a/90401
|
||||
function debchangedconfigs () { dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK$/{print $1}' | sort; }
|
||||
|
|
1
exa.zsh
1
exa.zsh
|
@ -1,4 +1,5 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
alias exa='exa -FHhg@ --git --binary --time-style long-iso'
|
||||
alias exal='exa -l'
|
||||
|
|
3
fzf.zsh
3
fzf.zsh
|
@ -1,3 +1,6 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
export FZF_COMPLETION_OPTS='--border --info=inline'
|
||||
|
||||
if [ -n "$TERMUX_VERSION" ] && [ -d "$PREFIX" ];
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
user_commands=(
|
||||
list-units is-active status show help list-unit-files
|
||||
is-enabled list-jobs show-environment cat list-timers
|
||||
|
@ -16,4 +19,3 @@ for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done
|
|||
alias sc-enable-now="sc-enable --now"
|
||||
alias sc-disable-now="sc-disable --now"
|
||||
alias sc-mask-now="sc-mask --now"
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#! /bin/zsh
|
||||
# shellcheck shell=bash
|
||||
|
||||
[ -z "$EDITOR" ] && export EDITOR=sensible-editor
|
||||
|
||||
export LESS="-F -R"
|
||||
|
@ -11,6 +14,7 @@ export LESS="-F -R"
|
|||
-z "$XDG_MUSIC_DIR" -a \
|
||||
-z "$XDG_PICTURES_DIR" -a \
|
||||
-z "$XDG_VIDEOS_DIR" ] && . "$HOME/.config/user-dirs.dirs"
|
||||
|
||||
export MAILCHECK=1
|
||||
|
||||
which fortune >/dev/null && which cowsay > /dev/null && fortune -e debian house-harkonnen house-atreides pratchett | cowsay -f tux -W 76 -n
|
||||
|
|
Loading…
Reference in a new issue