Minor improvements for zsh and vim
This commit is contained in:
parent
e61a51ecde
commit
03a3a6de34
4 changed files with 33 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
- ~/.fonts
|
- ~/.fonts
|
||||||
|
|
||||||
- link:
|
- link:
|
||||||
|
~/.zprofile: zprofile
|
||||||
~/.zshrc: zshrc
|
~/.zshrc: zshrc
|
||||||
~/.zsh_files: zsh_files
|
~/.zsh_files: zsh_files
|
||||||
~/.p10k.zsh: p10k.zsh
|
~/.p10k.zsh: p10k.zsh
|
||||||
|
|
|
||||||
1
vimrc
1
vimrc
|
|
@ -11,6 +11,7 @@ set visualbell
|
||||||
set autoindent
|
set autoindent
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set smarttab
|
set smarttab
|
||||||
|
set display=lastline
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
28
zprofile
Normal file
28
zprofile
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
# ~/.profile: executed by the command interpreter for login shells.
|
||||||
|
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||||
|
# exists.
|
||||||
|
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||||
|
# the files are located in the bash-doc package.
|
||||||
|
|
||||||
|
# the default umask is set in /etc/profile; for setting the umask
|
||||||
|
# for ssh logins, install and configure the libpam-umask package.
|
||||||
|
#umask 022
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/bin" ] ; then
|
||||||
|
PATH="$HOME/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable my personal scripts
|
||||||
|
if [ -d "$HOME/.scripts" ] ; then
|
||||||
|
PATH="$HOME/.scripts:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable Ssh-Agent
|
||||||
|
. "$HOME/.scripts/ssh_session"
|
||||||
|
|
||||||
3
zshrc
3
zshrc
|
|
@ -40,5 +40,8 @@ alias ls='ls --color=auto'
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# My Actual Configuration Starts Here
|
# My Actual Configuration Starts Here
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
export GPG_TTY=$TTY
|
export GPG_TTY=$TTY
|
||||||
|
|
||||||
|
[[ ! -f ~/.zshrc.local ]] || source ~/.zshrc.local
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue