sudo scutil --set HostName ${hostname}
Alex Smola's new book.
find . -type f -print0 | sort -z | xargs -0 shasum -a 256 | shasum -a 256 | awk '{print $1}'
For example, we have the following directory.
test/
├── a
└── b
- Let's make sure we use the most recent version of gpg
$▶ gpg --version
gpg (GnuPG) 2.2.12
libgcrypt 1.8.4
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
See https://github.com/justjanne/powerline-go
Add the following. Note, this is customized to my taste.
# Add powerline-go
function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go \
-newline -cwd-max-depth 5 -mode compatible -colorize-hostname\