mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
replace "hd" alias with script
This commit is contained in:
parent
d6e8a2004e
commit
4791492bee
1 changed files with 4 additions and 1 deletions
|
@ -53,6 +53,10 @@
|
||||||
${bat}/bin/bat --color=always --wrap=never --terminal-width=80 "$@"
|
${bat}/bin/bat --color=always --wrap=never --terminal-width=80 "$@"
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
(writeShellScriptBin "hd" ''
|
||||||
|
exec hexdump -C "$@"
|
||||||
|
'')
|
||||||
|
|
||||||
(writeShellScriptBin "pip-install" ''
|
(writeShellScriptBin "pip-install" ''
|
||||||
nix run 'nixpkgs#python3.pkgs.pip' -- install --user --upgrade --break-system-packages pip
|
nix run 'nixpkgs#python3.pkgs.pip' -- install --user --upgrade --break-system-packages pip
|
||||||
'')
|
'')
|
||||||
|
@ -147,7 +151,6 @@
|
||||||
alias jq='jq --indent 4'
|
alias jq='jq --indent 4'
|
||||||
alias yq='yq --indent 4'
|
alias yq='yq --indent 4'
|
||||||
alias p=python3
|
alias p=python3
|
||||||
alias hd='hexdump -C'
|
|
||||||
alias nix-env="echo nix-env is disabled #"
|
alias nix-env="echo nix-env is disabled #"
|
||||||
alias nix-what-depends-on='nix-store --query --referrers'
|
alias nix-what-depends-on='nix-store --query --referrers'
|
||||||
alias day='date "+%Y-%m-%d"'
|
alias day='date "+%Y-%m-%d"'
|
||||||
|
|
Loading…
Reference in a new issue