Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 398 Bytes

File metadata and controls

20 lines (16 loc) · 398 Bytes

确定终端环境

$ echo $SHELL

如果不是bash环境,并且想改为bash环境

$ chsh -s /bin/bash

使用

  • 当次有效
$ git clone https://github.com/momo0853/ffmpeg-bash-completion.git
$ cd ffmpeg-bash-completion && source ffmpeg.sh
  • 每次有效

~/.bash_profile中执行source ffmpeg.sh,这样终端每次打开都会执行一次