Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lijh8 authored Nov 14, 2024
1 parent 36729cf commit 099da03
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 18 deletions.
4 changes: 2 additions & 2 deletions bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ fi
# sudo usermod -a -G wheel ljh
# sudo -E env "PATH=$PATH" swift main.swift

EDITOR=$(which vi) # update-alternative --config EDITOR
alias ls="ls --color=never"
alias tree="tree -n"
EDITOR=$(which vi) # update-alternative --config EDITOR

export HISTCONTROL="ignoredups:erasedups:ignorespace"
export PROMPT_COMMAND='history -a'
export PATH=$PATH:../boost_1_73_0/stage/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../boost_1_73_0/stage/lib
export PATH=$PATH:../boost_1_73_0/stage/lib
7 changes: 6 additions & 1 deletion bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
## put environment variables like PATH in ~/.profile

alias ls="ls --color=never"
alias tree="tree -n"
EDITOR=/usr/bin/vi
export HISTCONTROL="ignoredups:erasedups"

export HISTCONTROL="ignoredups:erasedups:ignorespace"
export PROMPT_COMMAND='history -a'
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../boost_1_73_0/stage/lib
export PATH=$PATH:../boost_1_73_0/stage/lib

PS1='\$ '
set -o vi # set editing-mode vi # ~/.inputrc,
stty -ixon # terminal flow control Ctrl-S conflicts with vim, emacs.
Expand Down
9 changes: 7 additions & 2 deletions debian_install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,14 @@ $
# environment variables in ~/.profile, eg. PATH
$ vi ~/.bashrc
alias ls="ls --color=never"
EDITOR=/usr/bin/vim
export HISTCONTROL="ignoredups:erasedups"
alias tree="tree -n"
EDITOR=/usr/bin/vi

export HISTCONTROL="ignoredups:erasedups:ignorespace"
export PROMPT_COMMAND='history -a'
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../boost_1_73_0/stage/lib
export PATH=$PATH:../boost_1_73_0/stage/lib

PS1='\$ '
set -o vi # set editing-mode vi # ~/.inputrc,
stty -ixon # terminal flow control Ctrl-S conflicts with vim, emacs.
Expand Down
9 changes: 7 additions & 2 deletions fedora_install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,14 @@ $

$ vi ~/.bashrc
alias ls="ls --color=never"
EDITOR=/usr/bin/vim
export HISTCONTROL="ignoredups:erasedups"
alias tree="tree -n"
EDITOR=/usr/bin/vi

export HISTCONTROL="ignoredups:erasedups:ignorespace"
export PROMPT_COMMAND='history -a'
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../boost_1_73_0/stage/lib
export PATH=$PATH:../boost_1_73_0/stage/lib

PS1='\$ '
set -o vi # set editing-mode vi # ~/.inputrc,
stty -ixon # terminal flow control Ctrl-S conflicts with vim, emacs.
Expand Down
14 changes: 8 additions & 6 deletions profile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# ~/.profile
## put environment variables like PATH in ~/.profile

PS1='\$ '
set -o vi
ulimit -c unlimited

EDITOR=$(which vi) # update-alternative --config EDITOR
alias ls="ls --color=never"
alias tree="tree -n"
EDITOR=/usr/bin/vi

export HISTCONTROL="ignoredups:erasedups:ignorespace"
export PROMPT_COMMAND='history -a'
export PATH=$PATH:../boost_1_73_0/stage/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../boost_1_73_0/stage/lib
export PATH=$PATH:../boost_1_73_0/stage/lib

PS1='\$ '
set -o vi # set editing-mode vi # ~/.inputrc,
stty -ixon # terminal flow control Ctrl-S conflicts with vim, emacs.
ulimit -c unlimited # systemd-coredump
9 changes: 7 additions & 2 deletions ubuntu_install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,14 @@ $
## environment variables in ~/.profile, eg. PATH
$ vi ~/.bashrc
alias ls="ls --color=never"
EDITOR=/usr/bin/vim
export HISTCONTROL="ignoredups:erasedups"
alias tree="tree -n"
EDITOR=/usr/bin/vi

export HISTCONTROL="ignoredups:erasedups:ignorespace"
export PROMPT_COMMAND='history -a'
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../boost_1_73_0/stage/lib
export PATH=$PATH:../boost_1_73_0/stage/lib

PS1='\$ '
set -o vi # set editing-mode vi # ~/.inputrc,
stty -ixon # terminal flow control Ctrl-S conflicts with vim, emacs.
Expand Down
10 changes: 7 additions & 3 deletions zshrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# ~/.zshrc
# macOS

PS1='$ '
set -k

# vi mode
# TAB for filename completion
bindkey -v

PS1='$ '
set -k
set -o vi

stty -ixon
ulimit -c unlimited

0 comments on commit 099da03

Please sign in to comment.