mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 05:55:29 +00:00
.commit_message.tmpl
This commit is contained in:
21
dot_aliases
21
dot_aliases
@@ -1,7 +1,10 @@
|
|||||||
# aliases
|
# colorize output
|
||||||
alias clip='xsel --clipboard'
|
alias ls='ls --color=auto'
|
||||||
alias ls='ls --color=auto -h'
|
alias l='ls --color=auto -lFh'
|
||||||
alias ll='ls --color=auto -h'
|
alias ll='ll --color=auto'
|
||||||
|
|
||||||
|
# always create subdirs
|
||||||
|
alias mkdir='mkdir -p'
|
||||||
|
|
||||||
if type nvim > /dev/null; then
|
if type nvim > /dev/null; then
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
@@ -11,6 +14,8 @@ if type bat > /dev/null; then
|
|||||||
alias cat='bat -pp'
|
alias cat='bat -pp'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
alias now='date +"%y%m%d%H%M%S"'
|
||||||
|
|
||||||
# file type aliases
|
# file type aliases
|
||||||
alias -s txt=vim
|
alias -s txt=vim
|
||||||
alias -s md=vim
|
alias -s md=vim
|
||||||
@@ -21,4 +26,10 @@ alias -s ini=vim
|
|||||||
alias -s conf=vim
|
alias -s conf=vim
|
||||||
alias -s cfg=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/.local/bin"
|
||||||
export PATH="${PATH}:$HOME/bin"
|
export PATH="${PATH}:$HOME/bin"
|
||||||
export PATH="${PATH}:$HOME/.cargo/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-history-substring-search
|
||||||
zsh-users/zsh-completions # additionally completions
|
zsh-users/zsh-completions # additionally completions
|
||||||
zsh-users/zsh-autosuggestions
|
zsh-users/zsh-autosuggestions
|
||||||
|
djui/alias-tips
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
romkatv/powerlevel10k
|
romkatv/powerlevel10k
|
||||||
@@ -15,6 +16,9 @@ ohmyzsh/ohmyzsh path:plugins/ssh-agent
|
|||||||
sunlei/zsh-ssh
|
sunlei/zsh-ssh
|
||||||
|
|
||||||
ohmyzsh/ohmyzsh path:plugins/git
|
ohmyzsh/ohmyzsh path:plugins/git
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/command-not-found
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/common-aliases
|
||||||
|
|
||||||
zsh-users/zsh-syntax-highlighting
|
zsh-users/zsh-syntax-highlighting
|
||||||
aikow/zsh-auto-ls
|
aikow/zsh-auto-ls
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -e
|
|||||||
echo "Installing packages"
|
echo "Installing packages"
|
||||||
sudo apt update -qq
|
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
|
if dpkg -s "$package" >/dev/null 2>&1; then
|
||||||
echo $package is already installed.
|
echo $package is already installed.
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user