Update dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/aliases, dotfiles/.profile
This commit is contained in:
parent
3f7959c901
commit
bb5faeea6b
3 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
alias autheliapassword='docker run authelia/authelia:latest authelia hash-password'
|
||||
|
||||
|
|
0
dotfiles/.local/share/chezmoi/.chezmoiexternal.toml
Normal file
0
dotfiles/.local/share/chezmoi/.chezmoiexternal.toml
Normal file
|
@ -217,8 +217,8 @@ export BAT_CONFIG_PATH="$HOME/.config/batrc"
|
|||
if command -v bat > /dev/null; then
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
alias bathelp='bat --plain --language=help'
|
||||
alias cat='bat --paging=never'
|
||||
alias less='bat'
|
||||
alias cat='bat -pp'
|
||||
alias less='bat --paging=always'
|
||||
help() {
|
||||
"$@" --help 2>&1 | bathelp
|
||||
}
|
||||
|
@ -241,6 +241,8 @@ fi
|
|||
if command -v exa > /dev/null; then
|
||||
alias ls='exa --long --all --color auto --icons --sort=type'
|
||||
alias tree='exa --tree'
|
||||
alias la='ls -la'
|
||||
alias lt='ls --tree --level=2'
|
||||
fi
|
||||
|
||||
### fzf
|
||||
|
@ -289,6 +291,9 @@ export PATH="$POETRY_HOME/bin:$PATH"
|
|||
|
||||
### ripgrep
|
||||
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgreprc"
|
||||
if command -v rg &> /dev/null; then
|
||||
alias grep='rg'
|
||||
fi
|
||||
|
||||
### Ruby
|
||||
export GEM_HOME="$HOME/.local/gems"
|
||||
|
|
Loading…
Reference in a new issue