diff options
| -rw-r--r-- | config/bashrc | 2 | ||||
| -rw-r--r-- | config/tcshrc | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/config/bashrc b/config/bashrc index b073532..8755bbf 100644 --- a/config/bashrc +++ b/config/bashrc @@ -62,7 +62,7 @@ export VISUAL="emacsclient -c" export MORE="FRX" export LESS="FRX" export PAGER=$(which less || which more || echo "cat") -export EXINIT="set ai ic sm sw=4 ts=4" +export EXINIT="set ai ic sw=4 ts=4 nofl magic" if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases diff --git a/config/tcshrc b/config/tcshrc index 102ba72..da13974 100644 --- a/config/tcshrc +++ b/config/tcshrc @@ -1,6 +1,8 @@ set path = (~/.ghcup/bin ~/.cabal/bin ~/.cargo/bin ~/.mcabal/bin ~/.local/musl/bin ~/.local/bin /usr/local/bin /usr/bin /bin) set prompt = "%n@%m:%~> " +set complete = recexact +set autolist = ambiguous if ( ${?PKG_CONFIG_PATH} ) then setenv PKG_CONFIG_PATH `echo /usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}` @@ -14,7 +16,7 @@ setenv VISUAL "emacsclient -c" setenv MORE "FRX" setenv LESS "FRX" setenv PAGER `which less || which more || echo "cat"` -setenv EXINIT "set ai ic sm sw=4 ts=4" +setenv EXINIT "set ai ic sw=4 ts=4 nofl magic" alias cb "xclip -selection clipboard" alias bctl "bluetoothctl" @@ -43,6 +45,14 @@ alias ll "ls -la" alias ls "ls --color=auto" alias grep 'grep --color=auto' +if (`filetest -e /usr/share/git/completion/git-completion.tcsh`) then + source ${HOME}/.git-completion.tcsh +endif + +#if (`filetest -e ${HOME}/.tcsh-completion.tcsh`) then + #source ${HOME}/.tcsh-completion.tcsh +#endif + if (`filetest -e /etc/complete.tcsh`) then source /etc/complete.tcsh endif |
