|
@ -6,7 +6,7 @@ pub struct Help; |
|
|
|
|
|
|
|
|
impl Builtin for Help {
|
|
|
impl Builtin for Help {
|
|
|
fn execute(&mut self, _: &mut BuiltinConfig, _: Vec<String>) -> Result<(), ShellError> {
|
|
|
fn execute(&mut self, _: &mut BuiltinConfig, _: Vec<String>) -> Result<(), ShellError> {
|
|
|
let commands = "blahaj prints blahaj, styles: p, t
|
|
|
|
|
|
|
|
|
let commands = "blahaj prints blahaj, styles: ger, p, t
|
|
|
cd changes current working directory
|
|
|
cd changes current working directory
|
|
|
change-prompt changes prompt style (default, bashlike, simpledirectory)
|
|
|
change-prompt changes prompt style (default, bashlike, simpledirectory)
|
|
|
exit exits the shell
|
|
|
exit exits the shell
|
|
@ -17,6 +17,7 @@ impl Builtin for Help { |
|
|
open shows content of files
|
|
|
open shows content of files
|
|
|
pwd shows path to current working directory
|
|
|
pwd shows path to current working directory
|
|
|
quote prints a random quote
|
|
|
quote prints a random quote
|
|
|
|
|
|
rick plays rick rolls on YouTube
|
|
|
segfault exits, but the elegant way
|
|
|
segfault exits, but the elegant way
|
|
|
sus shows amogus
|
|
|
sus shows amogus
|
|
|
";
|
|
|
";
|
|
|