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.

35 lines
824 B
Cheetah

alias ide = {{dirs.data}}/scripts/ide.nu
{{#if-installed helix}}
alias hx = helix
{{/if-installed}}
{{#if-installed todo.sh}}
alias t = todo.sh
{{/if-installed}}
{{#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}}
{{#if-installed git}}
alias gc = git commit
alias gp = git push
alias ga = git add
alias ga. = git add .
alias gu = git pull
def `git yeet` [] {
git add .
git commit -m (http get https://whatthecommit.com/index.txt)
git push
}
alias gy = git yeet
{{/if-installed}}
def --env `silo cd` [] { silo repo | cd $in }