Hackman
This commit is contained in:
16
home.nix
16
home.nix
@@ -29,6 +29,8 @@ network = "traefik"
|
|||||||
latest.curl
|
latest.curl
|
||||||
latest.httpie
|
latest.httpie
|
||||||
|
|
||||||
|
latest.pavucontrol
|
||||||
|
|
||||||
latest.fasd
|
latest.fasd
|
||||||
latest.ripgrep
|
latest.ripgrep
|
||||||
latest.tree
|
latest.tree
|
||||||
@@ -79,6 +81,7 @@ network = "traefik"
|
|||||||
latest.playerctl latest.numlockx
|
latest.playerctl latest.numlockx
|
||||||
|
|
||||||
python
|
python
|
||||||
|
latest.nodejs
|
||||||
latest.docker
|
latest.docker
|
||||||
latest.docker_compose
|
latest.docker_compose
|
||||||
|
|
||||||
@@ -229,6 +232,19 @@ network = "traefik"
|
|||||||
initExtra = ''
|
initExtra = ''
|
||||||
bindkey ' ' forward-word
|
bindkey ' ' forward-word
|
||||||
zstyle ':completion:*:hosts' hosts ''${=''${''${''${''${(@M)''${(f)"''$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}}
|
zstyle ':completion:*:hosts' hosts ''${=''${''${''${''${(@M)''${(f)"''$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}}
|
||||||
|
|
||||||
|
m2wipe() {
|
||||||
|
echo "Pouf pouf pouf…"
|
||||||
|
sudo rm -rf $1/generated $1/var/cache/**/* $1/pub/static/* $1/var/page_cache $1/var/view_preprocessed
|
||||||
|
mkdir $1/generated
|
||||||
|
sudo chmod -R 777 $1/{var,pub,generated,app/etc}
|
||||||
|
echo "… tchak !"
|
||||||
|
}
|
||||||
|
|
||||||
|
dip() { docker inspect --format '{{ .NetworkSettings.IPAddress }}' "$@"; }
|
||||||
|
dcrefresh() {
|
||||||
|
dc stop -t0 $1 && dc rm -vf $1 && dc up -d $1
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
|||||||
Reference in New Issue
Block a user