basic structure; zsh default; no desktop assumed

This commit is contained in:
2021-11-14 11:40:27 +01:00
commit 1280d2360d
21 changed files with 1157 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#!/bin/sh
# Use neovim for vim if present.
[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d"
# Verbosity and settings that you pretty much just always are going to want.
alias \
cp="cp -iv" \
mv="mv -iv" \
rm="rm -vI" \
mkd="mkdir -pv" \
# Colorize commands when possible.
alias \
ls="ls -hN --color=auto --group-directories-first" \
grep="grep --color=auto" \
diff="diff --color=auto" \
ccat="highlight --out-format=ansi"
# These common commands are just too long! Abbreviate them.
alias \
ka="killall" \
g="git" \
f="$FILE" \
e="$EDITOR" \
v="$EDITOR" \