Skip to content

Instantly share code, notes, and snippets.

@dragonken
Last active March 30, 2019 17:48
Show Gist options
  • Save dragonken/edb698f46b2df73d3e35f31afaa564eb to your computer and use it in GitHub Desktop.
Save dragonken/edb698f46b2df73d3e35f31afaa564eb to your computer and use it in GitHub Desktop.
shall Alias
# Frequent use alias
alias copypath='pwd|pbcopy'
alias dlmp3='youtube-dl -x --audio-format mp3'
alias detectvolume='ffmpeg -vn -sn -dn -af "volumedetect" -f null /dev/null -i'
setopt HIST_SAVE_NO_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_FIND_NO_DUPS
unsetopt share_history
# java
alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"
set CLICOLOR=1
set TERM=xterm-256color
set COLORTERM=truecolor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment