Browse Source

add aur() function, to fast change dir and clone an aur package

master
Markus Bergholz 1 year ago
parent
commit
04cbfbe949
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      bash/mb.bashrc

+ 6
- 1
bash/mb.bashrc View File

@@ -153,4 +153,9 @@ function get_enc_clipboard() {

function o() {
docker run --rm -ti --network dev --name octave -v $(pwd):~/ registry.gitlab.com/markuman/dev/octave:4.2.0 bash
}
}

function aur() {
cd ~/aur
git clone https://aur.archlinux.org/"$1".git
}

Loading…
Cancel
Save