Pārlūkot izejas kodu

Fix bat/cat compat

Simon Watson 3 gadi atpakaļ
vecāks
revīzija
eed02b6548
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      bashrc/bashrc-all

+ 2 - 1
bashrc/bashrc-all

@@ -7,8 +7,9 @@ fi
 # Cargo config
 [ -f ~/.cargo ] && source "$HOME/.cargo/env"
 
+CAT_PATH=$(which cat --skip-alias)
 if [ -f ~/.cache/wal/sequences ]; then
-    cat ~/.cache/wal/sequences
+    $CAT_PATH ~/.cache/wal/sequences
 fi
 
 export EDITOR=$(which vim)