You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
874 B
Cheetah

10 months ago
{{#if-installed helix}}
{{#if (eq ctx.environment "unitb")}}
alias helix = hx
{{else}}
alias hx = helix
{{/if}}
10 months ago
{{/if-installed}}
{{#if-installed todo.sh}}
alias t = todo.sh
10 months ago
{{/if-installed}}
9 months ago
{{#if-installed fuck}}
alias fuck = with-env {TF_ALIAS: "fuck", PYTHONIOENCODING: "utf-8"} {
thefuck (history | last 1 | get command.0)
}{{/if-installed}}
{{#if flags.unix}}
alias `shx` = sudo -E helix -c '{{dirs.config}}/helix/config.toml'
{{/if}}
{{#if-installed nix}}
alias devshell = nix develop -c $env.SHELL
{{/if-installed}}
8 months ago
{{#if-installed docker}}
# purge all containers
def `docker purge-containers` [] {
( docker container ls -a --format json
| lines
| each {
let id = (from json | get id);
docker container stop $id;
docker container rm $id;
}
)
}
{{/if-installed}}
8 months ago
def --env `silo cd` [] { silo repo | cd $in }