Define alias for cd-ing to ~/briefcase
Small but useful alias.
This commit is contained in:
parent
bba3f16c43
commit
869a20f482
1 changed files with 13 additions and 3 deletions
|
@ -1,7 +1,14 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
# I know of two ways to install my home environment using home-manager:
|
||||||
|
#
|
||||||
|
# $ home-manager switch
|
||||||
|
# $ nix-shell ~/home-manager -A install
|
||||||
|
#
|
||||||
|
# I believe these calls depend on nixpkgs being set in NIX_PATH, which is a
|
||||||
|
# dependency that I'm trying to prune...
|
||||||
let
|
let
|
||||||
briefcase = import <briefcase> {};
|
briefcase = import /home/wpcarro/briefcase {};
|
||||||
in {
|
in {
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -103,6 +110,7 @@ in {
|
||||||
gsh = "git show HEAD";
|
gsh = "git show HEAD";
|
||||||
gpf = "git push --force-with-lease";
|
gpf = "git push --force-with-lease";
|
||||||
gd = "git diff";
|
gd = "git diff";
|
||||||
|
b = "cd ~/briefcase";
|
||||||
};
|
};
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
sys = "systemctl";
|
sys = "systemctl";
|
||||||
|
@ -122,9 +130,11 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fzf = {
|
programs.fzf = let
|
||||||
enable = true;
|
|
||||||
defaultCommand = "fd --hidden --follow --exclude '.git'";
|
defaultCommand = "fd --hidden --follow --exclude '.git'";
|
||||||
|
in {
|
||||||
|
enable = true;
|
||||||
|
defaultCommand = defaultCommand;
|
||||||
fileWidgetCommand = defaultCommand;
|
fileWidgetCommand = defaultCommand;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue