mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
bashrc & zshrc: add aliases pythonX-httpd. Closes #17 .
This commit is contained in:
parent
c39b2470d7
commit
83ccf48080
4
bashrc
4
bashrc
@ -544,7 +544,9 @@ alias homebrew-install="mkdir -p ~/.local/bin;cd ~/.local;git clone https://gith
|
||||
# OS X Server
|
||||
alias os-x-server-caching-interface="serveradmin settings caching:Interface ="
|
||||
|
||||
|
||||
# Simple HTTPd with Python.
|
||||
alias python2-httpd="python -m SimpleHTTPServer"
|
||||
alias python3-httpd="python -m http.server"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
|
4
zshrc
4
zshrc
@ -518,6 +518,10 @@ alias homebrew-install="mkdir -p ~/.local/bin;cd ~/.local;git clone https://gith
|
||||
# OS X Server
|
||||
alias os-x-server-caching-interface="serveradmin settings caching:Interface ="
|
||||
|
||||
# Simple HTTPd with Python.
|
||||
alias python2-httpd="python -m SimpleHTTPServer"
|
||||
alias python3-httpd="python -m http.server"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user