mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-14 12:48:29 +10:00
Adding an alias.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# Aliases for emacs commands
|
||||
alias ff find-file $1
|
||||
|
||||
# Aliasing standard shell commands to better emacs alternatives
|
||||
alias less view-file $1
|
||||
|
||||
# Changing "ls" to "exa"
|
||||
alias ls exa -al --color=always --group-directories-first $* # my preferred listing
|
||||
alias la exa -a --color=always --group-directories-first $* # all files and dirs
|
||||
@@ -22,5 +25,5 @@ alias cp cp -i $1
|
||||
alias mv mv -i $1
|
||||
alias rm rm -i $1
|
||||
|
||||
# bare git repo alias for dotfiles
|
||||
# Bare git repo alias for dotfiles
|
||||
alias config /usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME $*
|
||||
|
||||
Reference in New Issue
Block a user