Skip to content

Commit

Permalink
add cardanoAddressBin and autocompletions to shell
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler committed Jun 19, 2020
1 parent e6efdae commit f47fa50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/launcher-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ let
mkConfigByron = let
filterMonitoring = config: if devShell then config else builtins.removeAttrs config [ "hasPrometheus" "hasEKG" ];
exportWalletsBin = mkBinPath "export-wallets";
cardanoAddressBin = mkBinPath "cardano-address";
walletBin = if network == "local" then mkBinPath "cardano-wallet-shelley" else if envCfg.useByronWallet
then mkBinPath "cardano-wallet-byron"
else mkBinPath "cardano-wallet-shelley";
Expand Down Expand Up @@ -222,6 +223,7 @@ let
cliBin
walletBin
exportWalletsBin
cardanoAddressBin
legacyStateDir
legacyWalletDB
legacySecretKey;
Expand Down
3 changes: 3 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ let
${localLib.optionalString pkgs.stdenv.isLinux "export XDG_DATA_HOME=$HOME/.local/share"}
${localLib.optionalString (cluster == "local") "export CARDANO_NODE_SOCKET_PATH=$(pwd)/state-cluster/bft1.socket"}
source <(cardano-cli --bash-completion-script cardano-cli)
source <(cardano-node --bash-completion-script cardano-node)
source <(cardano-address --bash-completion-script cardano-address)
cp -f ${daedalusPkgs.iconPath.small} $DAEDALUS_INSTALL_DIRECTORY/icon.png
Expand Down

0 comments on commit f47fa50

Please sign in to comment.