cex.1 (525B)
1 .TH CEX 1 cex-VERSION 2 .SH NAME 3 cex \- C/Curses file EXplorer 4 .SH SYNOPSIS 5 .B cex 6 .SH DESCRIPTION 7 .B cex 8 is a simple file explorer with vim-like keybindings as default. 9 .SH ENVIRONMENT VARIABLES 10 .B EDITOR 11 the editor to be used for opening text files. 12 .SH OPTIONS 13 .TP 14 .BI \-f " filename" 15 defines the file to write current path on exit. Add following to your ~/.bashrc to automatically change directory upon exit: 16 17 .nf 18 function cex() { 19 txt=$(mktemp) || exit 1 20 command cex -f "$txt" && cd "$(cat "$txt")" 21 rm "$txt" 22 } 23 .fi