jakeisnt / nixcfg

A modular, Wayland-enabled NixOS configuration.
MIT License
30 stars 0 forks source link

nixos import all aliases from the bash prompt #214

Open jakeisnt opened 1 year ago

jakeisnt commented 1 year ago

on nix, this requires running /etc/profile to get the declared aliases into the bash shell, then running alias to see all of the defined aliases, then parsing and reinterpreting all of those alias commands as nushell commands. there currently isn't a good way for nushell to see all of the aliases from the shell wrapping it, and i'm not sure how to open a child shell that runs that file - i get "permission denied"?