Skip to content

Instantly share code, notes, and snippets.

@dragonken
Last active March 30, 2019 17:48
Show Gist options
  • Select an option

  • Save dragonken/edb698f46b2df73d3e35f31afaa564eb to your computer and use it in GitHub Desktop.

Select an option

Save dragonken/edb698f46b2df73d3e35f31afaa564eb to your computer and use it in GitHub Desktop.

Revisions

  1. dragonken revised this gist Mar 30, 2019. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions start.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # Frequent use alias
    alias copypath='pwd|pbcopy'
    alias mp3='youtube-dl -x --audio-format mp3'
    alias detectaudio='ffmpeg -vn -sn -dn -af "volumedetect" -f null /dev/null -i'
    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
    @@ -11,5 +11,6 @@ unsetopt share_history
    # java
    alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"

    export CLICOLOR=1
    export TERM=xterm-256color
    set CLICOLOR=1
    set TERM=xterm-256color
    set COLORTERM=truecolor
  2. dragonken revised this gist Mar 30, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion start.sh
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,7 @@ setopt HIST_FIND_NO_DUPS
    unsetopt share_history

    # java
    alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"
    alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"

    export CLICOLOR=1
    export TERM=xterm-256color
  3. dragonken revised this gist Mar 30, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion start.sh
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,7 @@ alias detectaudio='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
    unsetopt share_history

    # java
    alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"
  4. dragonken revised this gist Mar 30, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion start.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Commonly used alias
    # Frequent use alias
    alias copypath='pwd|pbcopy'
    alias mp3='youtube-dl -x --audio-format mp3'
    alias detectaudio='ffmpeg -vn -sn -dn -af "volumedetect" -f null /dev/null -i'
  5. dragonken revised this gist Mar 30, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions start.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    # Commonly used alias
    alias copypath='pwd|pbcopy'
    alias mp3='youtube-dl -x --audio-format mp3'
    alias detectaudio='ffmpeg -vn -sn -dn -af "volumedetect" -f null /dev/null -i'
  6. dragonken created this gist Mar 30, 2019.
    8 changes: 8 additions & 0 deletions start.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    alias copypath='pwd|pbcopy'
    alias mp3='youtube-dl -x --audio-format mp3'
    alias detectaudio='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