2 Commits

Author SHA1 Message Date
  10sr b3b4270b2b
Update shrc 2 years ago
  10sr 4ce1cd5c18
Updat 2 years ago
3 changed files with 18 additions and 17 deletions
Split View
  1. +6
    -4
      emacs.el
  2. +1
    -1
      profile
  3. +11
    -12
      shrc

+ 6
- 4
emacs.el View File

@@ -3115,6 +3115,12 @@ ARGS are not used."
(kill-buffer (get-buffer vterm-buffer-name)))
(vterm)))

;; (setq vterm-shell "bash -l")
;; (setq vterm-kill-buffer-on-exit nil)
;; ;; (setq vterm-term-environment-variable "screen-256color")

(message "Emacs started at %s"
(current-time-string))

;; https://emacs-jp.github.io/tips/startup-optimization
;; Restore to original value
@@ -3125,10 +3131,6 @@ ARGS are not used."
(profiler-report)
(profiler-stop))

;; (setq vterm-shell "bash -l")
;; (setq vterm-kill-buffer-on-exit nil)
;; ;; (setq vterm-term-environment-variable "screen-256color")

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


+ 1
- 1
profile View File

@@ -120,7 +120,7 @@ export PATH="$GOPATH/bin:$PATH"
export PYTHONUSERBASE=$HOME/.pip
export PATH="$PYTHONUSERBASE/bin:$PATH"
# Enable --user by default when running pip install
export PIP_USER=1
# export PIP_USER=1

export PIPENV_VENV_IN_PROJECT=1
export PIPENV_MAX_DEPTH=10 # Defaults to 3


+ 11
- 12
shrc View File

@@ -207,17 +207,12 @@ else
alias __safe_cowsay=cat
fi

command -v fortune >/dev/null && {
fortune | __safe_cowsay | __safe_lolcat
echo
fortune -o | __safe_cowsay | __safe_lolcat
echo
}

uname -a
$iswindows && alias tty="echo cmd.exe"
echo TERM $TERM with $(tput colors) colors using $(tty)
echo umask: `umask -S`
# command -v fortune >/dev/null && {
# fortune | __safe_cowsay | __safe_lolcat
# echo
# fortune -o | __safe_cowsay | __safe_lolcat
# echo
# }

# if null type figlet && null type lolcat
# then
@@ -233,11 +228,15 @@ then
screenfetch
fi

uname -a
$iswindows && alias tty="echo cmd.exe"
echo TERM $TERM with $(tput colors) colors using $(tty)
echo umask: `umask -S`

__safe_run id `whoami`
# echo
## A bit heavy command
# finger `whoami`
echo
__safe_run w `whoami`

# if null type tmux


Loading…
Cancel
Save