Skip to content

Commit 858159d

Browse files
authored
Update README.md
1 parent c6fc530 commit 858159d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Install one-liner: `source <(curl -s https://raw.githubusercontent.com/0xZDH/cmd
2727
If required, the user can modify the size of the maintained history file by setting CMDWSIZE as an environment variable (Default: 3,000):
2828
* `export CMDWSIZE=1000`
2929

30+
For uses that require larger history files, it is best to include and set the CMDWSIZE variable in the terminals rc file prior to the sourcing of the cmdw tool. For example, add the following to your rc file above the cmdw source line to allow the history file length to grow up to 1,000,000 lines:
31+
* `export CMDWSIZE=1000000`
32+
3033
## Command Referencing:
3134
1. List the executed commands in .cmdw_history with line numbers via:
3235
* `cat -n .cmdw_history | grep '#'`

0 commit comments

Comments
 (0)