Commit e5fe1e4d authored by nimrod's avatar nimrod
Browse files

- Fix bug with SSH config generation, order was not correct (keep safe...

- Fix bug with SSH config generation, order was not correct (keep safe handling of unusual filenames).
parent fba4b5e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/sh
set -eu
find "$HOME/.ssh/config.d/" -type f -exec cat {} \; > "$HOME/.ssh/config"
find "$HOME/.ssh/config.d/" -type f -print0 | sort --zero | xargs -0 cat > "$HOME/.ssh/config"