Add sd
parent
c8e79ac11b
commit
400251c08f
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# make user environment match ~/.dotfiles/user.nix
|
||||
#
|
||||
# This will remove any packages you've installed with nix-env
|
||||
# but have not added to user.nix. To see exactly what this
|
||||
# will do, run:
|
||||
#
|
||||
# sd nix diff
|
||||
# https://github.com/ianthehenry/sd-nix/blob/master/sync
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
nix-env -irf ~/.dotfiles/user.nix
|
|
@ -0,0 +1,6 @@
|
|||
with import <nixpkgs> {}; [
|
||||
ghq
|
||||
onefetch
|
||||
nodejs
|
||||
nix
|
||||
]
|
|
@ -138,6 +138,9 @@ miniplug theme 'tjquillan/pastel'
|
|||
|
||||
miniplug load
|
||||
|
||||
export SD_ROOT="$HOME/.dotfiles/.sd"
|
||||
export SD_CAT=bat
|
||||
|
||||
# auto cd must be set later
|
||||
setopt AUTO_CD
|
||||
|
||||
|
|
Loading…
Reference in New Issue