Andrew's git
/
dotfiles.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
add tac(1) alias -> bat
author
Andrew Lorimer
<andrew@lorimer.id.au>
Mon, 10 Jun 2019 10:27:21 +0000
(20:27 +1000)
committer
Andrew Lorimer
<andrew@lorimer.id.au>
Mon, 10 Jun 2019 10:27:21 +0000
(20:27 +1000)
zsh/.zshrc
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
0a4c09a
)
diff --git
a/zsh/.zshrc
b/zsh/.zshrc
index d4df296c1817ff53572bb8ccbf53d7dc8f47d586..7a15b2f0429bed3cf1bea48877b1384b53f0034a 100755
(executable)
--- a/
zsh/.zshrc
+++ b/
zsh/.zshrc
@@
-1,4
+1,3
@@
-# Path to oh-my-zsh installation
export ZSH=/home/andrew/.oh-my-zsh
export PATH=~/scripts:$PATH
export PATH=/home/andrew/.local/bin:$PATH
export ZSH=/home/andrew/.oh-my-zsh
export PATH=~/scripts:$PATH
export PATH=/home/andrew/.local/bin:$PATH
@@
-36,17
+35,20
@@
HIST_STAMPS="dd.mm.yyyy"
DISABLE_UNTRACKED_FILES_DIRTY="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
+# plugins can be found in ~/.oh-my-zsh/plugins/*
+plugins=(git)
+
# ---
# Appearance
# ---
ZSH_THEME="custom"
COMPLETION_WAITING_DOTS="true"
# ---
# Appearance
# ---
ZSH_THEME="custom"
COMPLETION_WAITING_DOTS="true"
-# plugins can be found in ~/.oh-my-zsh/plugins/*
-plugins=(git)
-
source $ZSH/oh-my-zsh.sh
# fix spotify ui scaling bug
alias spotify="spotify --force-device-scale-factor=0.95 %U"
source $ZSH/oh-my-zsh.sh
# fix spotify ui scaling bug
alias spotify="spotify --force-device-scale-factor=0.95 %U"
+
+# use bat instead of cat
alias cat="bat"
alias cat="bat"
+tac () { /usr/bin/tac $@ | bat }