fix(cable): zsh-history and bash-history cable channels now point to default histfiles locations (#224)

This commit is contained in:
Alex Pasmantier 2025-01-06 13:44:07 +01:00 committed by GitHub
parent 3d49d308c1
commit 88b08b798e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,11 +35,11 @@ preview_command = ":files:"
# Shell history
[[cable_channel]]
name = "zsh-history"
source_command = "sed '1!G;h;$!d' $HISTFILE | cut -d\";\" -f 2-"
source_command = "sed '1!G;h;$!d' $HOME/.zsh_history | cut -d\";\" -f 2-"
[[cable_channel]]
name = "bash-history"
source_command = "sed '1!G;h;$!d' $HISTFILE"
source_command = "sed '1!G;h;$!d' $HOME/.bash_history"
[[cable_channel]]
name = "fish-history"