diff --git a/README.md b/README.md index 636902b..7b78170 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,4 @@ fisher install danhper/fish-ssh-agent ### Manually -Copy `functions` and `conf.d` to your `$__fish_config_dir` directory. That's all. +Copy `functions` and `conf.d` to your `$__fish_config_dir` directory by executing `./install.fish`. That's all. diff --git a/install.fish b/install.fish new file mode 100755 index 0000000..a16039e --- /dev/null +++ b/install.fish @@ -0,0 +1,4 @@ +#! /bin/env fish +set curr_dir (dirname (status --current-filename)) +cp -r "$curr_dir"/functions "$__fish_config_dir" +cp -r "$curr_dir"/conf.d "$__fish_config_dir"