Skip to content

Commit d885a2b

Browse files
Added bzip2 and gzip aliases
Added aliases for decompressing compressed archives using bunzip and gunzip. Also added aliases for cat-ing compressed files with bzcat, gzcat, and zcat.
1 parent 52f5601 commit d885a2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/brush-bash.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
return result;
2424
}
2525
var keywords = 'if fi then elif else for do done until while break continue case esac function return in eq ne ge le';
26-
var commands = 'alias apropos awk basename base64 bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
26+
var commands = 'alias apropos awk basename base64 bash bc bg builtin bunzip2 bzcat bzip2 bzip2recover cal cat cd cfdisk chgrp chmod chown chroot' +
2727
'cksum clear cmp comm command cp cron crontab crypt csplit cut date dc dd ddrescue declare df ' +
2828
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
2929
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
30-
'free fsck ftp gawk gcc gdb getconf getopts grep groups gzip hash head history hostname id ifconfig ' +
30+
'free fsck ftp gawk gcc gdb getconf getopts grep groups gunzip gzcat gzip hash head history hostname id ifconfig ' +
3131
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
3232
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
3333
'mv nasm nc ndisasm netstat nice nl nohup nslookup objdump od open op passwd paste pathchk ping popd pr printcap ' +
@@ -36,7 +36,7 @@
3636
'sleep sort source split ssh strace strings su sudo sum symlink sync tail tar tee test time ' +
3737
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
3838
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
39-
'vi watch wc whereis which who whoami Wget xargs xxd yes chsh'
39+
'vi watch wc whereis which who whoami Wget xargs xxd yes chsh zcat'
4040
;
4141

4242
this.regexList = [

0 commit comments

Comments
 (0)