mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
.commit_message.tmpl
This commit is contained in:
21
dot_aliases
21
dot_aliases
@@ -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'
|
||||
|
||||
|
||||
@@ -18,3 +18,4 @@ fi
|
||||
export PATH="${PATH}:$HOME/.local/bin"
|
||||
export PATH="${PATH}:$HOME/bin"
|
||||
export PATH="${PATH}:$HOME/.cargo/bin"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user