forked from andonome/lk
initial commit
This commit is contained in:
41
system/elvish
Normal file
41
system/elvish
Normal file
@@ -0,0 +1,41 @@
|
||||
# Setup
|
||||
To run a shell as non-root, the shell must be listed in /etc/shells.
|
||||
|
||||
# Basics
|
||||
Elvish has an inbuilt calculator.
|
||||
|
||||
Basic commands include: *, ^, +. E.g.:
|
||||
|
||||
> 2*4+2
|
||||
|
||||
|
||||
#Lists
|
||||
|
||||
li = [orcs hobbits elves]
|
||||
|
||||
Then either
|
||||
|
||||
> echo $li
|
||||
|
||||
> echo $@li
|
||||
|
||||
> echo $path
|
||||
|
||||
|
||||
# Environmental Variables
|
||||
Summon with E:, e.g.
|
||||
|
||||
> echo $E:USER
|
||||
|
||||
# Commands
|
||||
|
||||
C-n - File manager
|
||||
|
||||
C-l - Recent locations
|
||||
|
||||
C-r - Recent commands
|
||||
|
||||
See all binding with:
|
||||
|
||||
> pprint $edit:insert:binding
|
||||
|
Reference in New Issue
Block a user