From bfaa96cccad95afaaa8ad98613b28a821eb08e04 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 28 Sep 2020 10:17:40 +0200 Subject: Fixing new config on school pc --- .gitconfig | 2 +- .zsh_aliases | 4 ++-- .zshrc | 11 ++++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitconfig b/.gitconfig index bb4fef3..ba0350e 100644 --- a/.gitconfig +++ b/.gitconfig @@ -9,4 +9,4 @@ [merge] tool = vimdiff [commit] - gpgsign = true + gpgsign = false diff --git a/.zsh_aliases b/.zsh_aliases index 1115abc..9df6257 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -19,7 +19,7 @@ alias doas='doas ' # same for doas alias info='info --vi-keys' # ls -alias ls='ls --color=auto -F' +alias ls='ls -G -F' alias ll="ls -lh" alias la="ls -a" alias lla="ls -alh" @@ -32,7 +32,7 @@ alias ta='tree -a' alias t1='tree -L 1' alias t2='tree -L 2' alias t3='tree -L 3' -# alias ti="tree | grep -v -E '*.pyc'" +alias ti="tree -I '*.pyc' -I '*.o'" # man alias ma="man" diff --git a/.zshrc b/.zshrc index f04acbe..c25558c 100644 --- a/.zshrc +++ b/.zshrc @@ -57,7 +57,7 @@ function chpwd() { content=$(ls | wc -l) ([ "$content" -lt 20 ] && ls -l) || echo "$(pwd) contains $content entries" - [ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd + #[ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd } # add command-not-found package suggestion @@ -83,7 +83,7 @@ export XDG_CONFIG_HOME="/home/charles/.config/" export XDG_DATA_HOME="/home/charles/.data/" export EDITOR="vim" -export TERM="st-256color" +export TERM="xterm-256color" export MAIL='me@cacharle.xyz' export BROWSER='chromium' export BROWSERCLI='w3m' @@ -98,15 +98,16 @@ export YSU_MESSAGE_POSITION="after" # you-sho source $HOME/.zsh/zsh-you-should-use/you-should-use.plugin.zsh # alias reminder # set tab to 4 spaces -tabs 4 +#tabs 4 export LFS=/mnt -export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$DOTDIR/bin" -# export PATH="$PATH:$HOME/.vim/plugged/vim-superman/bin" +export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:$HOME/.brew/bin:$DOTDIR/bin:$HOME/bin" export GPG_TTY=$(tty) # fixing gpg fatal error about tty export MINISHELL_TEST_BONUS=yes export MINISHELL_TEST_PAGER=vim export MINISHELL_TEST_FLAGS=-DMINISHELL_TEST + +19fetch -- cgit