DEV Community

Discussion on: Getting McFly Working on Ubuntu Server

Collapse
 
jonasbn profile image
Jonas Brømsø

Thanks for the article.

I love and use McFly and even if I am using McFly out of the box, your article had some great pointers, so I will be tweaking my configuration.

I thing that I love from Bash is: HISTIGNORE. It can be used to slim history, by not saving common commands following the patterns you specify

HISTIGNORE="pwd:ls:ls -l:cd:clear"
Enter fullscreen mode Exit fullscreen mode

Apparently Zsh has a similar feature: HISTORY_IGNORE

export HISTORY_IGNORE="(ls|cd|pwd|exit|cd ..)"
Enter fullscreen mode Exit fullscreen mode

I am going to try that out in combination with McFly and see how it works.

REF:

Collapse
 
nickytonline profile image
Nick Taylor

Thanks for reading Jonas! Also, I was unaware of HISTORY_IGNORE and HISTIGNORE, so thanks for sharing that. That is an excellent power tip for McFly or history in general.

Hackerman from Kung Fury putting on a Nintendo Power glove