Alias only what the machine will actually have
vim aliased to vimx, which no list installed; bat invoked by its Debian name, which Fedora does not ship; sunshine restarted by an alias when nothing here installs sunshine. vim-X11 is now declared so vimx exists, ff previews with bat, and the sunshine alias moved to the gitignored env of the one machine that has it.
This commit is contained in:
+2
-2
@@ -3,7 +3,6 @@
|
||||
# Aliases I like
|
||||
alias :q="exit"
|
||||
alias :wq="exit"
|
||||
alias startsunshine="systemctl --user restart sunshine.service"
|
||||
alias sourcerc="source ~/.bashrc"
|
||||
alias c="clear"
|
||||
alias shutdown="systemctl poweroff"
|
||||
@@ -32,7 +31,8 @@ alias ls='eza -lh --group-directories-first --icons'
|
||||
alias lsa='ls -a'
|
||||
alias lt='eza --tree --level=2 --long --icons --git'
|
||||
alias lta='lt -a'
|
||||
alias ff="fzf --preview 'batcat --style=numbers --color=always {}'"
|
||||
# Fedora's bat installs /usr/bin/bat; batcat is the Debian name.
|
||||
alias ff="fzf --preview 'bat --style=numbers --color=always {}'"
|
||||
|
||||
# Directories
|
||||
alias ..='cd ..'
|
||||
|
||||
Reference in New Issue
Block a user