diff --git a/workstation/home.nix b/workstation/home.nix index e47b8ad..678d806 100644 --- a/workstation/home.nix +++ b/workstation/home.nix @@ -117,7 +117,7 @@ enable = true; enableCompletion = true; enableVteIntegration = false; - historyFile = "\$\{HOME\}/.bash_history.\${USER}.\$(hostname -s).\$(tty | sed 's?/dev/pts/??')"; + historyFile = "\$\{HOME\}/.bash_history.\${USER}.\$(hostname -s).\$(tty | cut -c10-)"; bashrcExtra = '' export GOPATH="~/go"