diff --git a/bashrc/aliases b/bashrc/aliases index e978793..55c9dd1 100644 --- a/bashrc/aliases +++ b/bashrc/aliases @@ -85,3 +85,6 @@ alias add-ssh-key="$HOME/.dotfiles/bin/add-ssh-keys" # shortcuts to some functions alias edit-script="edit-script-file" + +# add a bit of test here +alias guild-test="echo successfully imported owo" diff --git a/bashrc/chain-source b/bashrc/chain-source index d512008..867fbe1 100644 --- a/bashrc/chain-source +++ b/bashrc/chain-source @@ -1,5 +1,6 @@ #!/bin/bash # these commands should be triggered on shell startup -source ~/.dotfiles/bashrc/aliases -source ~/.dotfiles/bashrc/worthwhile-functions +. ~/.dotfiles/bashrc/aliases +. ~/.dotfiles/bashrc/worthwhile-functions +guild-test diff --git a/bin/import-gpg-keys b/bin/import-gpg-keys new file mode 120000 index 0000000..11fc6d2 --- /dev/null +++ b/bin/import-gpg-keys @@ -0,0 +1 @@ +import-pgp-keys \ No newline at end of file diff --git a/bin/import-pgp-keys b/bin/import-pgp-keys new file mode 100755 index 0000000..27eeabd --- /dev/null +++ b/bin/import-pgp-keys @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ "$#" == "0" ]; then + echo "Usage: $0 your-pgp-key-name-here" + echo "If the script says the file isn't found, make sure" + echo "you placed it on your DOTFILES_HOME/secrets/pgp directory" + echo "( +fi diff --git a/bin/reload-chain-source b/bin/reload-chain-source new file mode 100755 index 0000000..7dac549 --- /dev/null +++ b/bin/reload-chain-source @@ -0,0 +1,7 @@ +#!/bin/bash + +echo "Reloading aliases and functions..." +. $DOTFILES_HOME/bashrc/chain-source +echo "info: We recommend to restart your terminal to ensure" +echo "info: removed entries and renamed ones are being loaded" +echo "info: and to avoid conflicts chaos."