aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc1
-rw-r--r--.xinitrc2
-rwxr-xr-x.zprofile4
-rw-r--r--.zsh_aliases4
-rw-r--r--.zshrc4
-rwxr-xr-xinstall.sh3
6 files changed, 15 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index dc57121..ac7d010 100644
--- a/.vimrc
+++ b/.vimrc
@@ -96,7 +96,6 @@ let g:lightline.colorscheme = 'solarized' " lightline theme to solarized
" let g:lightline.colorscheme = 'jellybeans' " lightline theme to onedark
" }}}
-
""""""""""""
" mappings "
""""""""""""
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..c3213b0
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,2 @@
+redshift -c /home/charles/.config/redshift.conf &
+exec xmonad
diff --git a/.zprofile b/.zprofile
new file mode 100755
index 0000000..de50afc
--- /dev/null
+++ b/.zprofile
@@ -0,0 +1,4 @@
+if [[ "$(tty)" = "/dev/tty1" ]]; then
+ startx
+ poweroff
+fi
diff --git a/.zsh_aliases b/.zsh_aliases
index 2d2e87b..676940a 100644
--- a/.zsh_aliases
+++ b/.zsh_aliases
@@ -76,6 +76,10 @@ alias vimrc="vim $DOTFILES/.vimrc"
alias vimplugrc="vim $DOTFILES/.pluggins.vim"
alias xmonadrc="vim $DOTFILES/xmonad.hs"
+
+# other
+alias date="date -R"
+
# parent directory jump
alias ..='cd ..'
alias ...='cd ../..'
diff --git a/.zshrc b/.zshrc
index 42dde40..13d9389 100644
--- a/.zshrc
+++ b/.zshrc
@@ -34,9 +34,9 @@ bindkey -v '^?' backward-delete-char
bindkey -v
export KEYTIMEOUT=1
-setopt auto_cd # cd without `cd` command
+setopt auto_cd # cd without `cd` command
# setopt pushd_ignore_dups
-# setopt list_rows_first
+setopt list_rows_first # iterate in completion menu by row
# setopt extendedglob
# executed when changind directory
diff --git a/install.sh b/install.sh
index 96d1496..ff71c27 100755
--- a/install.sh
+++ b/install.sh
@@ -35,6 +35,9 @@ create_dotfile_link_same .gitconfig
[ ! -d $HOME/.config ] && mkdir $HOME/.config
create_dotfile_link redshift.conf .config/redshift.conf
+ln -sf $DOTDIR/.xinitrc $HOME/.xinitrc
+ln -sf $DOTDIR/.zprofile $HOME/.zprofile
+
################
# dependencies #
################