forked from ywangd/stash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stash_tips
35 lines (35 loc) · 2.31 KB
/
.stash_tips
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[
"Output can be redirected to a file, e.g. ls > file_name",
"You can redirect output to Pythonista console, e.g. ls > &3",
"You can alias a long command to a shorter name",
"Use pipes to connect IOs of multiple commands, e.g. ls | sort",
"Use pip to search, install and uninstall PyPI packages",
"You can omit .py when typing command name, e.g. pwd is the same as pwd.py",
"Manage repos with the git command",
"Talk to remote machines with ssh and scp",
"Usage of a command can often be checked with the -h option, e.g. git -h",
"A background job can be issued by appending & at the end of a normal command, e.g. httpserver &",
"Keep updated with development by simply run the selfupdate command",
"A branch name can be specified to allow selfupdate from a branch other than master",
"Download files from an URL with wget",
"Check disk usage with du -s",
"Stop a running command by pressing the CC button (Ctrl-C on external keyboard)",
"Send a running command to background by pressing the CZ button (Ctrl-Z on external keyboard)",
"Bring a background job to foreground with fg JOB_ID",
"List all background jobs with jobs",
"Command httpserver starts a HTTP server with upload function",
"You can use the callable StaSh object to issue more commands from a script, e.g. _stash('some_command')",
"Customize appearances and behaviours of StaSh by editing the .stash_config file",
".stashrc is the StaSh resource file similar to what .bashrc is to Bash",
"You can invoke almost any Python scripts, including UI and Scene, directly from StaSh",
"Check the value of BIN_PATH, i.e. echo $BIN_PATH, to see where StaSh looks for command scripts",
"Check the current StaSh installation and system information with version",
"See a list of available commands and their short descriptions with man",
"Press the Tab button to auto-complete command and file names",
"Show detailed traceback when a script fails with stashconf py_traceback 1",
"Show a random tip with command totd",
"Edit files with unconventional names using edit, e.g. edit .stash_config",
"Use mc to access files in your Dropbox or on a FTP-Server",
"Improve script-compatibility with the monkeylord command",
"Access remote filesystems using the mount and umount commands"
]