mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
zsh: http servers
This commit is contained in:
parent
42869d20f1
commit
8aee136ae5
1 changed files with 4 additions and 0 deletions
|
|
@ -107,5 +107,9 @@ alias ga.='ga . && gst'
|
||||||
alias fakemsg='echo "$(curl -s https://whatthecommit.com/index.txt)"'
|
alias fakemsg='echo "$(curl -s https://whatthecommit.com/index.txt)"'
|
||||||
alias gcmsgrnd='git commit -m "$(curl -s https://whatthecommit.com/index.txt)"'
|
alias gcmsgrnd='git commit -m "$(curl -s https://whatthecommit.com/index.txt)"'
|
||||||
|
|
||||||
|
alias here-http='hostname -I && python3 -m http.server'
|
||||||
|
alias here-http-cors='npx http-server -p 8080 --cors'
|
||||||
|
alias here-https='PORT=8080 npx https-localhost'
|
||||||
|
|
||||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue