diff --git a/fake_home/.bashrc b/fake_home/.bashrc index 4ac8e0f..6a82646 100644 --- a/fake_home/.bashrc +++ b/fake_home/.bashrc @@ -139,3 +139,4 @@ ex () } source ~/.shell_aliases +. "$HOME/.cargo/env" diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index 0985b6b..f922434 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -4,6 +4,18 @@ function fin { find -iname "*$@*" } +function gamp { + git add * && git commit -am "$1" && git push +} + +function gap { + git add * && git commit -a && git push +} + +function gd { + git add * && git diff --cached --word-diff=porcelain +} + function wf { if [[ "$@" != "" ]]; then local fzf_args="-q $@" @@ -45,6 +57,11 @@ function vo { echo $f } +alias yt='yt-dlp' +function y { + cd ~/.ytdl; yt-dlp $@; cd - +} + # Mkdir should remind you to use git alias mkdir="echo 'Maybe use git init if this is a new project' && mkdir"