mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
refactor(cable): use tail instead of tac for zsh and bash command history channels (#161)
This commit is contained in:
parent
f83c5d1396
commit
157d01c4e7
@ -35,8 +35,8 @@ preview_command = ":files:"
|
||||
# Shell history
|
||||
[[cable_channel]]
|
||||
name = "zsh-history"
|
||||
source_command = "tac $HOME/.zsh_history | cut -d\";\" -f 2-"
|
||||
source_command = "tail -r $HOME/.zsh_history | cut -d\";\" -f 2-"
|
||||
|
||||
[[cable_channel]]
|
||||
name = "bash-history"
|
||||
source_command = "tac $HOME/.bash_history"
|
||||
source_command = "tail -r $HOME/.bash_history"
|
||||
|
Loading…
x
Reference in New Issue
Block a user