Skip to content
/ rdt Public

Use rdt if you tired of typing nohup command &> /dev/null & to run command detached from shell

License

Notifications You must be signed in to change notification settings

RayJameson/rdt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdt

Use rdt if you tired of typing nohup command &> /dev/null & to run command detached from shell

Example

rdt python3 -m http.server 8888 # start simple http server on port 8888

now you can close the terminal and command will keep running

Explanation

This script is simple as heck, it basically run command in a subshell. stdout and stderr are discarded.

Installation

git clone --depth=1 --filter=blob:none https://github.com/RayJameson/rdt && cd rdt

# by default install to /usr/local/bin, should be run with sudo
sudo bash ./install.sh # check the script to make sure I'm not installing crypto miner on your PC

# if you have some user dir with binaries which is included in $PATH you can specify it as argument
bash ./install.sh ~/.local/bin

Uninstallation

# default location
sudo rm -c /usr/bin/rdt
# or if you used user dir
rm -c $(which rdt)

rm -c ~/.zfunc/_rdt

Completion

I made this script for myself, so currently only zsh completion is supported
and it basically uses completion of passed command.

I have no interest implementing completion for other shells because it's unbearable.

About

Use rdt if you tired of typing nohup command &> /dev/null & to run command detached from shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages