.commit_message.tmpl

This commit is contained in:
Daniel Bauer
2025-07-22 10:37:39 +02:00
parent af7b932479
commit c1a3f35c24
4 changed files with 22 additions and 6 deletions

View File

@@ -1,7 +1,10 @@
# aliases
alias clip='xsel --clipboard'
alias ls='ls --color=auto -h'
alias ll='ls --color=auto -h'
# colorize output
alias ls='ls --color=auto'
alias l='ls --color=auto -lFh'
alias ll='ll --color=auto'
# always create subdirs
alias mkdir='mkdir -p'
if type nvim > /dev/null; then
alias vim=nvim
@@ -11,6 +14,8 @@ if type bat > /dev/null; then
alias cat='bat -pp'
fi
alias now='date +"%y%m%d%H%M%S"'
# file type aliases
alias -s txt=vim
alias -s md=vim
@@ -21,4 +26,10 @@ alias -s ini=vim
alias -s conf=vim
alias -s cfg=vim
alias now='date +"%y%m%d%H%M%S"'
# copy/paste for shell
alias pbcopy='xsel --clipboard --input'
alias pc=pbcopy
alias pbpaste='xsel --clipboard --output'
alias pp=pbpaste
alias clip='xsel --clipboard'

View File

@@ -18,3 +18,4 @@ fi
export PATH="${PATH}:$HOME/.local/bin"
export PATH="${PATH}:$HOME/bin"
export PATH="${PATH}:$HOME/.cargo/bin"

View File

@@ -7,6 +7,7 @@ belak/zsh-utils path:editor # allow vim bindings
zsh-users/zsh-history-substring-search
zsh-users/zsh-completions # additionally completions
zsh-users/zsh-autosuggestions
djui/alias-tips
# theme
romkatv/powerlevel10k
@@ -15,6 +16,9 @@ ohmyzsh/ohmyzsh path:plugins/ssh-agent
sunlei/zsh-ssh
ohmyzsh/ohmyzsh path:plugins/git
ohmyzsh/ohmyzsh path:plugins/command-not-found
ohmyzsh/ohmyzsh path:plugins/common-aliases
zsh-users/zsh-syntax-highlighting
aikow/zsh-auto-ls

View File

@@ -5,7 +5,7 @@ set -e
echo "Installing packages"
sudo apt update -qq
for package in git neovim git ripgrep; do
for package in xsel git neovim git ripgrep; do
if dpkg -s "$package" >/dev/null 2>&1; then
echo $package is already installed.
else