]> git.phdru.name Git - dotfiles.git/commitdiff
Feat(cgmem_nice): More memory containers were added
authorOleg Broytman <phd@phdru.name>
Fri, 24 Apr 2020 17:14:10 +0000 (20:14 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 24 Apr 2020 17:16:24 +0000 (20:16 +0300)
.bash_completion.d/cgmem_nice
bin/cgmem_nice

index 0b9529432476c658156e6a8e421d4b71c8d8e2eb..5ed041b87634f7d3ad8c21d11303f4f719a752de 100644 (file)
@@ -3,7 +3,7 @@ _cgmem_nice()
    local CUR=${COMP_WORDS[COMP_CWORD]}
 
    if [ $COMP_CWORD -eq 1 ]; then
-      COMPREPLY=( $(compgen -W "100 200 300 500 1000 2000 4000" -- $CUR) )
+      COMPREPLY=( $(compgen -W "100 200 300 400 500 1000 2000 4000 5000" -- $CUR) )
    elif [ $COMP_CWORD -ge 2 ]; then
       _command_offset 2
    fi
index a509f6ba494b590d8a635ad8ccaf2fd71e6440e7..212ec3ca4ec953773f4e1385bd50b9525276a0d9 100755 (executable)
@@ -1,12 +1,12 @@
 #! /bin/sh
 
 usage() {
-   echo "Usage: $0 {100|200|300|500|1000|2000|4000} [command [args]]"
+   echo "Usage: $0 {100|200|300|400|500|1000|2000|4000|5000} [command [args]]"
    exit 1
 }
 
 case "$1" in
-   100|200|300|500|1000|2000|4000)
+   100|200|300|400|500|1000|2000|4000|5000)
    ;;
 
    *) usage