mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Revert "Remove which -> type -P alias."
This reverts commit e8e8164f34
. I
misread the original commit as adding the "which" package, but it only
adds it to base.nix. So then the original motivation (making it work
in subshells) doesn't hold. Note that we already have some convenience
aliases that don't work in subshells either (such as "ll").
This commit is contained in:
parent
7f61c7289f
commit
ddd480ac30
2 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@
|
||||||
pkgs.ddrescue
|
pkgs.ddrescue
|
||||||
pkgs.ccrypt
|
pkgs.ccrypt
|
||||||
pkgs.cryptsetup # needed for dm-crypt volumes
|
pkgs.cryptsetup # needed for dm-crypt volumes
|
||||||
pkgs.which # 88K size
|
|
||||||
|
|
||||||
# Some networking tools.
|
# Some networking tools.
|
||||||
pkgs.fuse
|
pkgs.fuse
|
||||||
|
|
|
@ -56,7 +56,7 @@ in
|
||||||
*/
|
*/
|
||||||
|
|
||||||
shellAliases = mkOption {
|
shellAliases = mkOption {
|
||||||
default = config.environment.shellAliases;
|
default = config.environment.shellAliases // { which = "type -P"; };
|
||||||
description = ''
|
description = ''
|
||||||
Set of aliases for bash shell. See <option>environment.shellAliases</option>
|
Set of aliases for bash shell. See <option>environment.shellAliases</option>
|
||||||
for an option format description.
|
for an option format description.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue