mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Explain how fish can be configured to exclude jrnl commands from history by default
This commit is contained in:
parent
36076de64f
commit
17ce55e031
1 changed files with 8 additions and 4 deletions
|
@ -56,10 +56,14 @@ setopt HIST_IGNORE_SPACE
|
||||||
alias jrnl=" jrnl"
|
alias jrnl=" jrnl"
|
||||||
```
|
```
|
||||||
|
|
||||||
The fish shell does not support automatically preventing logging like
|
If you are using `fish` instead of `bash` or `zsh`, you can get the same behaviour by
|
||||||
this. To prevent `jrnl` commands being logged by fish, you must make
|
adding this to your `fish` configuration:
|
||||||
sure to type a space before every `jrnl` command you enter. To delete
|
|
||||||
existing `jrnl` commands from fish’s history, run
|
``` sh
|
||||||
|
abbr jrnl=" jrnl"
|
||||||
|
```
|
||||||
|
|
||||||
|
To delete existing `jrnl` commands from `fish`’s history, run
|
||||||
`history delete --prefix 'jrnl '`.
|
`history delete --prefix 'jrnl '`.
|
||||||
|
|
||||||
## Manual decryption
|
## Manual decryption
|
||||||
|
|
Loading…
Add table
Reference in a new issue