Skip to content

Commit

Permalink
fix(cable): zsh-history and bash-history cable channels now point to …
Browse files Browse the repository at this point in the history
…default histfiles locations
  • Loading branch information
alexpasmantier committed Jan 6, 2025
1 parent d7e6c35 commit 0d454d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cable/unix-channels.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0d454d0

Please sign in to comment.