Last active
November 29, 2023 11:57
-
-
Save SmaugPool/cc7555c852428b981f037dfc663d74bd to your computer and use it in GitHub Desktop.
Revisions
-
Smaug revised this gist
Jun 18, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,8 @@ source <(cardano-cli --bash-completion-script cardano-cli) source <(cardano-cli --bash-completion-script cardano-node) ``` --- To enable it for all future sessions: ```bash cardano-cli --bash-completion-script cardano-cli | sudo tee /etc/bash_completion.d/cardano-cli -
Smaug revised this gist
Jun 17, 2020 . 1 changed file with 7 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ To enable `cardano-cli` and `cardano-node` bash auto-completion for the current shell: ```bash source <(cardano-cli --bash-completion-script cardano-cli) source <(cardano-cli --bash-completion-script cardano-node) ``` To enable it for all future sessions: ```bash cardano-cli --bash-completion-script cardano-cli | sudo tee /etc/bash_completion.d/cardano-cli cardano-cli --bash-completion-script cardano-node | sudo tee /etc/bash_completion.d/cardano-node ``` Then log out and log in again, or run `source ~/.bashrc`. -
smaug-group revised this gist
Jun 16, 2020 . No changes.There are no files selected for viewing
-
smaug-group revised this gist
Jun 16, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ `cardano-cli` can generate its own completion script: ```bash cardano-cli --bash-completion-script cardano-cli | sudo tee /etc/bash_completion.d/cardano-cli source ~/.bashrc ``` It also works for `cardano-node`: ```bash cardano-cli --bash-completion-script cardano-node | sudo tee /etc/bash_completion.d/cardano-node source ~/.bashrc ``` -
smaug-group revised this gist
Jun 16, 2020 . No changes.There are no files selected for viewing
-
smaug-group created this gist
Jun 16, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ `cardano-cli` can generate its own completion script: ```bash cardano-cli --bash-completion-script cardano-cli | sudo tee /etc/bash_completion.d/cardano-cli . ~/.bashrc ``` It also works for `cardano-node`: ```bash cardano-cli --bash-completion-script cardano-node | sudo tee /etc/bash_completion.d/cardano-node . ~/.bashrc ```