add fish shell alias
This commit is contained in:
parent
04ce8d76ba
commit
6373014574
2 changed files with 18 additions and 1 deletions
|
|
@ -32,6 +32,10 @@ bind = $mainMod, l, movefocus, r
|
||||||
bind = $mainMod, k, movefocus, u
|
bind = $mainMod, k, movefocus, u
|
||||||
bind = $mainMod, j, movefocus, d
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
|
# Workspace Scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e-1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e+1
|
||||||
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
bind = $mainMod, 2, workspace, 2
|
bind = $mainMod, 2, workspace, 2
|
||||||
bind = $mainMod, 3, workspace, 3
|
bind = $mainMod, 3, workspace, 3
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,16 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
shellAlias = {
|
||||||
|
ls = "exa";
|
||||||
|
cat = "bat";
|
||||||
|
rebuild = "sudo nixos-rebuild switch --flake /etc/nixos";
|
||||||
|
fullClean = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||||
|
setWindows = "sudo bootctl set-oneshot auto-windows";
|
||||||
|
goWin = "sudo bootctl set-oneshot auto-windows && reboot";
|
||||||
|
goBios = "sudo bootctl set-onshot auto-reboot-to-firmware-setup && reboot";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
programs = {
|
programs = {
|
||||||
# nushell = {
|
# nushell = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|
@ -6,6 +18,7 @@
|
||||||
# envFile.source = ../config/nushell/env.nu;
|
# envFile.source = ../config/nushell/env.nu;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
|
||||||
fish = {
|
fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue