Last active
April 18, 2020 00:02
-
-
Save zhoulifu/9e82154f6c1859ab682b1056268fcec4 to your computer and use it in GitHub Desktop.
clean-up the .zsh_history file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sort -t ";" -k 2 -u ~/.zsh_history | sort -o ~/.zsh_history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment