diff options
author | tdro <tdro@users.noreply.github.com> | 2020-05-12 01:01:49 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-05-12 01:01:49 -0400 |
commit | 0725708ddc16050b91b659f2ac2efca6abfd9475 (patch) | |
tree | 7e239f0126777a765f5e15543fecad22b5be9dcf /.bashrc | |
parent | 5b01b84465595f636c066e4f104a65a69a475b60 (diff) | |
download | dotfiles-0725708ddc16050b91b659f2ac2efca6abfd9475.tar.gz dotfiles-0725708ddc16050b91b659f2ac2efca6abfd9475.tar.bz2 dotfiles-0725708ddc16050b91b659f2ac2efca6abfd9475.zip |
.bashrc: Remove history duplicate function call
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -114,7 +114,6 @@ alias pgloader="docker run --rm dimitri/pgloader:latest pgloader" # remove bash history duplicates history-remove-duplicates() { awk '!visited[$0]++' "$HOME/.bash_history" > /tmp/.bash_history.tmp && mv -f /tmp/.bash_history.tmp "$HOME/.bash_history"; } -history-remove-duplicates; # extract docker container as rootfs docker-rootfs() { id=$(docker run -d "$1" /bin/true) && docker export -o "$2" "$id" && docker container rm "$id"; } |