mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
nixpkgs shortcut registries
This commit is contained in:
parent
660ea997df
commit
7ae0649456
@ -14,7 +14,7 @@ bind -M insert \cp projects
|
|||||||
bind -M default \cp projects
|
bind -M default \cp projects
|
||||||
bind -M insert \x1F accept-autosuggestion
|
bind -M insert \x1F accept-autosuggestion
|
||||||
bind -M default \x1F accept-autosuggestion
|
bind -M default \x1F accept-autosuggestion
|
||||||
bind -M insert \cn 'commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#"'
|
bind -M insert \cn 'commandline -r "nix run nixpkgs#"'
|
||||||
bind -M default \cn 'commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#"'
|
bind -M default \cn 'commandline -r "nix run nixpkgs#"'
|
||||||
bind -M insert \x11F nix-fzf
|
bind -M insert \x11F nix-fzf
|
||||||
bind -M default \x11F nix-fzf
|
bind -M default \x11F nix-fzf
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
body = ''
|
body = ''
|
||||||
set program $argv[1]
|
set program $argv[1]
|
||||||
if test (count $argv) -ge 2
|
if test (count $argv) -ge 2
|
||||||
commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#$program -- $argv[2..-1]"
|
commandline -r "nix run nixpkgs#$program -- $argv[2..-1]"
|
||||||
else
|
else
|
||||||
commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#$program"
|
commandline -r "nix run nixpkgs#$program"
|
||||||
end
|
end
|
||||||
commandline -f execute
|
commandline -f execute
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user