Skip to content
Snippets Groups Projects
Commit 532fa028 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 0ff7761f
No related branches found
No related tags found
No related merge requests found
#!/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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment