https://github.com/ap--/interactive-bash-execute
everything you need to spawn an interactive bash shell that executes some commands on startup
https://github.com/ap--/interactive-bash-execute
Last synced: about 2 months ago
JSON representation
everything you need to spawn an interactive bash shell that executes some commands on startup
- Host: GitHub
- URL: https://github.com/ap--/interactive-bash-execute
- Owner: ap--
- Created: 2012-11-07T02:50:22.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-07T13:41:42.000Z (over 13 years ago)
- Last Synced: 2025-01-20T16:03:11.799Z (over 1 year ago)
- Language: Shell
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
interactive-bash-execute
========================
everything you need to spawn an interactive bash shell that executes some commands on startup
### INSTALL ###
to install this stuff, do the following:
* put the bash-exec-interactive script in a path that can be found by a restricted shell (i.e. /usr/bin)
* run update-bashrc.sh to add the test for BASHEXECINTERACTIVE environment variable to your .bashrc
* create scripts like the examples/mydev script, and put it in some folder in your PATH
* if you want the command to be reachable via the gnome-shell home screen, put a file similar to the mydev.desktop file in your ~/.local/share/applications/ folder
### USAGE ###
if you did all this:
* HOMEBUTTON
* type cmd
* be happy :P