Update dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/aliases, dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-11-22 01:06:36 +00:00
parent 3f7959c901
commit bb5faeea6b
3 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,9 @@
# Fix for auto expansion (source: https://wiki.archlinux.org/title/Sudo#Passing_aliases)
alias sudo='sudo '
# Reload current shell
alias reload="exec ${SHELL} -l"
# Create an Authelia password hash # Create an Authelia password hash
alias autheliapassword='docker run authelia/authelia:latest authelia hash-password' alias autheliapassword='docker run authelia/authelia:latest authelia hash-password'

View file

@ -217,8 +217,8 @@ export BAT_CONFIG_PATH="$HOME/.config/batrc"
if command -v bat > /dev/null; then if command -v bat > /dev/null; then
export MANPAGER="sh -c 'col -bx | bat -l man -p'" export MANPAGER="sh -c 'col -bx | bat -l man -p'"
alias bathelp='bat --plain --language=help' alias bathelp='bat --plain --language=help'
alias cat='bat --paging=never' alias cat='bat -pp'
alias less='bat' alias less='bat --paging=always'
help() { help() {
"$@" --help 2>&1 | bathelp "$@" --help 2>&1 | bathelp
} }
@ -241,6 +241,8 @@ fi
if command -v exa > /dev/null; then if command -v exa > /dev/null; then
alias ls='exa --long --all --color auto --icons --sort=type' alias ls='exa --long --all --color auto --icons --sort=type'
alias tree='exa --tree' alias tree='exa --tree'
alias la='ls -la'
alias lt='ls --tree --level=2'
fi fi
### fzf ### fzf
@ -289,6 +291,9 @@ export PATH="$POETRY_HOME/bin:$PATH"
### ripgrep ### ripgrep
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgreprc" export RIPGREP_CONFIG_PATH="$HOME/.config/ripgreprc"
if command -v rg &> /dev/null; then
alias grep='rg'
fi
### Ruby ### Ruby
export GEM_HOME="$HOME/.local/gems" export GEM_HOME="$HOME/.local/gems"