xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit ba7e8360894dfc0ca2e3a0d1bc7240f287319d2c

Use vifm-media-osx on OS X
Author: xaizek
Author date (UTC): 2019-07-14 16:25
Committer name: xaizek
Committer date (UTC): 2019-07-14 16:25
Parent(s): d27b69665cf00f59a9dcdaf87873dfe821044bc1
Signing key: 99DC5E4DB05F6BE2
Tree: 9338f95f1f3938cec9c5e66dde63f5f56a747bcc
File Lines added Lines deleted
src/cfg/config.c 3 1
File src/cfg/config.c changed (mode: 100644) (index f2bb75397..836eb220b)
28 28
29 29 #ifndef __APPLE__ #ifndef __APPLE__
30 30 #define SAMPLE_VIFMRC "vifmrc" #define SAMPLE_VIFMRC "vifmrc"
31 #define SAMPLE_MEDIAPRG "vifm-media"
31 32 #else #else
32 33 #define SAMPLE_VIFMRC "vifmrc-osx" #define SAMPLE_VIFMRC "vifmrc-osx"
34 #define SAMPLE_MEDIAPRG "vifm-media-osx"
33 35 #endif #endif
34 36
35 37 #include <assert.h> /* assert() */ #include <assert.h> /* assert() */
 
... ... cfg_init(void)
159 161 cfg.grep_prg = strdup("grep -n -H -I -r %i %a %s"); cfg.grep_prg = strdup("grep -n -H -I -r %i %a %s");
160 162 cfg.locate_prg = strdup("locate %a"); cfg.locate_prg = strdup("locate %a");
161 163 cfg.delete_prg = strdup(""); cfg.delete_prg = strdup("");
162 cfg.media_prg = format_str("%s/vifm-media", get_installed_data_dir());
164 cfg.media_prg = format_str("%s/" SAMPLE_MEDIAPRG, get_installed_data_dir());
163 165
164 166 cfg.tail_tab_line_paths = 0; cfg.tail_tab_line_paths = 0;
165 167 cfg.trunc_normal_sb_msgs = 0; cfg.trunc_normal_sb_msgs = 0;
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master