@sebastienrousseau/dotfiles 0.2.457 → 0.2.458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -90
- package/dist/Makefile +7 -7
- package/dist/bin/constants.d.ts +4 -2
- package/dist/bin/constants.d.ts.map +1 -1
- package/dist/bin/constants.js +1 -1
- package/dist/bin/constants.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -2
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/index.js +0 -0
- package/dist/filesizes.txt +240 -230
- package/dist/{shell → lib}/README.md +0 -0
- package/dist/lib/aliases/default/default.aliases.sh +183 -0
- package/dist/{shell → lib}/aliases/gcloud/gcloud.aliases.sh +1 -1
- package/dist/lib/aliases/git/git.aliases.sh +569 -0
- package/dist/{shell → lib}/aliases/heroku/heroku.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/jekyll/jekyll.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/pnpm/pnpm.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/subversion/subversion.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases.sh +2 -2
- package/dist/{shell → lib}/configurations/README.md +0 -0
- package/dist/{shell → lib}/configurations/bash/bashrc +3 -3
- package/dist/{shell → lib}/configurations/curl/cacert.pem +0 -0
- package/dist/{shell → lib}/configurations/curl/curlrc +1 -1
- package/dist/{shell → lib}/configurations/default/color.sh +1 -1
- package/dist/{shell → lib}/configurations/default/editor.sh +1 -1
- package/dist/{shell → lib}/configurations/default/prompt.sh +1 -1
- package/dist/{shell/configurations/input → lib/configurations/inputrc}/inputrc +1 -1
- package/dist/{shell → lib}/configurations/jshint/jshintrc +0 -0
- package/dist/{shell → lib}/configurations/profile/profile +1 -1
- package/dist/lib/configurations/tmux/default +17 -0
- package/dist/lib/configurations/tmux/display +25 -0
- package/dist/lib/configurations/tmux/linux +17 -0
- package/dist/lib/configurations/tmux/navigation +29 -0
- package/dist/lib/configurations/tmux/panes +9 -0
- package/dist/lib/configurations/tmux/theme +28 -0
- package/dist/lib/configurations/tmux/tmux +20 -0
- package/dist/lib/configurations/tmux/vi +5 -0
- package/dist/{shell → lib}/configurations/vim/vimrc +1 -1
- package/dist/{shell → lib}/configurations/wget/wgetrc +1 -1
- package/dist/{shell → lib}/configurations/zsh/zshrc +3 -3
- package/dist/{shell → lib}/configurations.sh +2 -2
- package/dist/{shell → lib}/exit.sh +1 -1
- package/dist/{shell → lib}/functions/README.md +0 -0
- package/dist/{shell → lib}/functions/cdls.sh +1 -1
- package/dist/{shell → lib}/functions/curlheader.sh +1 -1
- package/dist/{shell → lib}/functions/curltime.sh +1 -1
- package/dist/{shell → lib}/functions/encode64.sh +1 -1
- package/dist/{shell → lib}/functions/environment.sh +1 -1
- package/dist/{shell → lib}/functions/extract.sh +1 -1
- package/dist/{shell → lib}/functions/filehead.sh +0 -0
- package/dist/{shell → lib}/functions/genpwd.sh +1 -1
- package/dist/{shell → lib}/functions/goto.sh +1 -1
- package/dist/{shell → lib}/functions/hidehiddenfiles.sh +1 -1
- package/dist/{shell → lib}/functions/hostinfo.sh +1 -1
- package/dist/{shell → lib}/functions/hstats.sh +1 -1
- package/dist/{shell → lib}/functions/httpdebug.sh +1 -1
- package/dist/{shell → lib}/functions/keygen.sh +1 -1
- package/dist/{shell → lib}/functions/last.sh +1 -1
- package/dist/{shell → lib}/functions/logout.sh +1 -1
- package/dist/{shell → lib}/functions/lowercase.sh +1 -1
- package/dist/{shell → lib}/functions/macos.sh +1 -1
- package/dist/{shell → lib}/functions/matrix.sh +1 -1
- package/dist/{shell → lib}/functions/mcd.sh +1 -1
- package/dist/{shell → lib}/functions/mount_read_only.sh +1 -1
- package/dist/{shell → lib}/functions/myproc.sh +1 -1
- package/dist/{shell → lib}/functions/prependpath.sh +1 -1
- package/dist/{shell → lib}/functions/ql.sh +1 -1
- package/dist/{shell → lib}/functions/rd.sh +1 -1
- package/dist/{shell → lib}/functions/remove_disk.sh +1 -1
- package/dist/{shell → lib}/functions/ren.sh +1 -1
- package/dist/{shell → lib}/functions/showhiddenfiles.sh +1 -1
- package/dist/{shell → lib}/functions/size.sh +1 -1
- package/dist/{shell → lib}/functions/stopwatch.sh +1 -1
- package/dist/{shell → lib}/functions/uppercase.sh +1 -1
- package/dist/{shell → lib}/functions/view-source.sh +1 -1
- package/dist/{shell → lib}/functions/vscode.sh +1 -1
- package/dist/{shell → lib}/functions/whoisport.sh +1 -1
- package/dist/{shell → lib}/functions/zipf.sh +1 -1
- package/dist/{shell → lib}/functions.sh +2 -2
- package/dist/{shell → lib}/history.sh +1 -1
- package/dist/{shell → lib}/paths/ant/ant.paths.sh +1 -1
- package/dist/{shell → lib}/paths/default/default.paths.sh +1 -1
- package/dist/{shell → lib}/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/{shell → lib}/paths/java/java.paths.sh +1 -1
- package/dist/{shell → lib}/paths/maven/maven.paths.sh +1 -1
- package/dist/{shell → lib}/paths/node/node.paths.sh +1 -1
- package/dist/{shell → lib}/paths/nvm/nvm.paths.sh +1 -1
- package/dist/{shell → lib}/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/{shell → lib}/paths/python/python.paths.sh +1 -1
- package/dist/{shell → lib}/paths/ruby/ruby.paths.sh +1 -1
- package/dist/{shell → lib}/paths/tmux/tmux.paths.sh +2 -2
- package/dist/{shell → lib}/paths.sh +2 -2
- package/package.json +28 -28
- package/dist/bin/compile.sh +0 -16
- package/dist/bin/copy.sh +0 -21
- package/dist/bin/dotfiles.sh +0 -185
- package/dist/shell/aliases/default/default.aliases.sh +0 -199
- package/dist/shell/configurations/tmux/tmux +0 -95
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
## 🅳🅴🅵🅰🆄🅻🆃
|
|
6
|
+
set -g default-terminal "screen-256color" # use 256 colors
|
|
7
|
+
if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"'
|
|
8
|
+
|
|
9
|
+
bind C-a send-prefix -2 # GNU-Screen compatible prefix
|
|
10
|
+
set -g history-limit 102400 # Increase history limit
|
|
11
|
+
set -g prefix2 C-a # GNU-Screen compatible prefix
|
|
12
|
+
set -g set-clipboard on # Copy to system clipboard
|
|
13
|
+
set -s escape-time 10 # Faster command sequences
|
|
14
|
+
set -s focus-events on # Enable mouse focus events
|
|
15
|
+
set -sg repeat-time 600 # Increase repeat timeout
|
|
16
|
+
setw -g xterm-keys on # Enable xterm keys
|
|
17
|
+
setw -q -g utf8 on # Expect UTF-8 (tmux < 2.2)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
## 🅳🅸🆂🅿🅻🅰🆈
|
|
6
|
+
bind -n C-l send-keys C-l \; run 'sleep 0.2' \; clear-history # clear both screen and history
|
|
7
|
+
set -g aggressive-resize on # resize panes automatically when window is resized
|
|
8
|
+
set -g base-index 1 # start windows numbering at 1
|
|
9
|
+
set -g bell-action none # disable bell
|
|
10
|
+
set -g display-panes-time 800 # slightly longer pane indicators display time
|
|
11
|
+
set -g display-time 1000 # slightly longer status messages display time
|
|
12
|
+
set -g monitor-activity on # monitor for activity
|
|
13
|
+
set -g renumber-windows on # renumber windows when a window is closed
|
|
14
|
+
set -g set-titles off # set terminal title
|
|
15
|
+
set -g status-interval 10 # redraw status line every 10 seconds
|
|
16
|
+
set -g visual-activity off # disable visual activity
|
|
17
|
+
set -g visual-bell off # disable visual bell
|
|
18
|
+
set -g visual-silence off # disable visual silence
|
|
19
|
+
setw -g allow-rename off # disable window renaming
|
|
20
|
+
setw -g automatic-rename off # disable automatic window renaming
|
|
21
|
+
setw -g mode-keys vi # vi mode
|
|
22
|
+
setw -g automatic-rename off # rename window to reflect current program
|
|
23
|
+
setw -g monitor-activity on # disable monitor for activity
|
|
24
|
+
setw -g pane-base-index 1 # make pane numbering consistent with windows
|
|
25
|
+
setw -g synchronize-panes off # disable pane synchronization
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
## 🅻🅸🅽🆄🆇 🅾🅽🅻🆈
|
|
6
|
+
bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M # scroll up
|
|
7
|
+
bind -n WheelDownPane select-pane -t= \; send-keys -M # scroll down
|
|
8
|
+
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" # scroll up
|
|
9
|
+
bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down # scroll down half page
|
|
10
|
+
bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up # scroll up half page
|
|
11
|
+
bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down # scroll down half page
|
|
12
|
+
bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up # scroll up half page
|
|
13
|
+
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" # copy to system clipboard
|
|
14
|
+
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" # copy to system clipboard
|
|
15
|
+
set -g mouse on # enable mouse
|
|
16
|
+
setw -g mode-keys vi # vi mode
|
|
17
|
+
unbind -T copy-mode-vi Enter # unbind default Enter
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
## 🅽🅰🆅🅸🅶🅰🆃🅸🅾🅽
|
|
6
|
+
bind _ split-window -h # split current window horizontally
|
|
7
|
+
bind - split-window -v # split current window vertically
|
|
8
|
+
bind -r C-h previous-window # select previous window
|
|
9
|
+
bind -r C-l next-window # select next window
|
|
10
|
+
bind -r h select-pane -L # move left
|
|
11
|
+
bind -r j select-pane -D # move down
|
|
12
|
+
bind -r k select-pane -U # move up
|
|
13
|
+
bind -r l select-pane -R # move right
|
|
14
|
+
bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane "#{session_name}" #D' # maximize current pane
|
|
15
|
+
bind < swap-pane -U # swap current pane with the previous one
|
|
16
|
+
bind > swap-pane -D # swap current pane with the next one
|
|
17
|
+
bind | split-window -h -c "#{pane_current_path}" # split current window horizontally
|
|
18
|
+
bind a last -t : # move to last active window
|
|
19
|
+
bind BTab switch-client -l # move to last session
|
|
20
|
+
bind C-c new-session # create session
|
|
21
|
+
bind C-f command-prompt -p find-session 'switch-client -t %%' # find session
|
|
22
|
+
bind e neww -n tmux-config "\${EDITOR:-vim} ~/.tmux.conf" # edit configuration
|
|
23
|
+
bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse" # toggle mouse
|
|
24
|
+
bind N new-window # create window
|
|
25
|
+
bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" # reload configuration
|
|
26
|
+
bind Tab last-window # move to last active window
|
|
27
|
+
bind U run "cut -c3- ~/.tmux.conf | sh -s _urlview #{pane_id}" # urlview
|
|
28
|
+
unbind n # unbind default next-window
|
|
29
|
+
unbind p # unbind default previous-window
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
## 🅿🅰🅽🅴🆂
|
|
6
|
+
set-option -g pane-base-index 1 # set first pane to index 1 (not 0) to map more to the keyboard layout...
|
|
7
|
+
bind-key q kill-pane # confirm before killing a window or the server
|
|
8
|
+
bind -n M-c kill-pane \; select-layout
|
|
9
|
+
bind -n M-n split-window \; select-layout
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
## 🆃🅷🅴🅼🅴
|
|
6
|
+
|
|
7
|
+
# macOS version
|
|
8
|
+
if 'uname -s | grep -q Darwin' 'set -g status-left "#[bg=#007ACC] macOS #S #[bg=#EB0000] #W #[bg=#14222A]"'
|
|
9
|
+
|
|
10
|
+
# Linux version
|
|
11
|
+
if 'uname -s | grep -q Linux' 'set -g status-left "#[bg=#007ACC] 🐧 Linux #[bg=#EB0000] #W #[bg=#14222A]"'
|
|
12
|
+
|
|
13
|
+
# Windows version
|
|
14
|
+
if 'uname -s | grep -q MINGW' 'set -g status-left "#[bg=#007ACC] 🪟 Windows #[bg=#EB0000] #W #[bg=#14222A]"'
|
|
15
|
+
|
|
16
|
+
# Status bar customisation
|
|
17
|
+
set -g status-bg "#2D1681" # Status bar background color (purple)
|
|
18
|
+
set -g status-fg "#FFFFFF" # Status bar foreground color (text)
|
|
19
|
+
set -g status-interval 5 # Status bar refresh interval in seconds
|
|
20
|
+
set -g status-justify absolute-centre # Status bar justification (left, right, centre, absolute-left, absolute-right, absolute-centre)
|
|
21
|
+
set -g status-left-length 50 # Status bar left length
|
|
22
|
+
set -g status-right-length 50 # Status bar right length
|
|
23
|
+
set -g status-right "#[fg=#FFFFFF] #[bg=#14222A] ⬛ #I #[bg=#007ACC] %d/%m/%Y #[bg=#EB0000] %_d %B %I:%M%p "
|
|
24
|
+
set -g window-status-current-format "#[bg=#2D1681]Dotfiles (v0.2.458)" # Current window status format
|
|
25
|
+
set -g window-status-current-style "bg=#EB0000" # Current window status style
|
|
26
|
+
set -g window-status-separator "" # Window status separator
|
|
27
|
+
set-window-option -g clock-mode-colour "#FFFFFF" # Clock mode color
|
|
28
|
+
set-window-option -g clock-mode-style 24 # Clock mode style (12, 24)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \
|
|
6
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/default \; \
|
|
7
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/display \; \
|
|
8
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/linux \; \
|
|
9
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/navigation \; \
|
|
10
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/panes \; \
|
|
11
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/panes \; \
|
|
12
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/vi \;
|
|
13
|
+
|
|
14
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/default
|
|
15
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/display
|
|
16
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/linux
|
|
17
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/navigation
|
|
18
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/panes
|
|
19
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/theme
|
|
20
|
+
source-file $HOME/.dotfiles/lib/configurations/tmux/vi
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -15,8 +15,8 @@ USER=$(whoami) # current user name.
|
|
|
15
15
|
|
|
16
16
|
## 🅴🆇🅿🅾🆁🆃🆂 - Export the variables.
|
|
17
17
|
export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
|
|
18
|
-
export DOTFILES_VERSION='0.2.
|
|
19
|
-
export DOTFILES="${HOME}"/.dotfiles/
|
|
18
|
+
export DOTFILES_VERSION='0.2.458' # version of the dotfiles.
|
|
19
|
+
export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles.
|
|
20
20
|
export HOSTNAME=${HOSTNAME} # hostname of the machine.
|
|
21
21
|
export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
|
|
22
22
|
export LANG=${USER_LANGUAGE} # default language.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
6
|
## 🅲🅾🅽🅵🅸🅶🆄🆁🅰🆃🅸🅾🅽🆂
|
|
7
|
-
for config in "${HOME}"/.dotfiles/
|
|
7
|
+
for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
|
|
8
8
|
# shellcheck source=/dev/null
|
|
9
9
|
source "${config}"
|
|
10
10
|
done
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
6
|
# Load custom executable functions
|
|
7
|
-
for function in "${HOME}"/.dotfiles/
|
|
7
|
+
for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
|
|
8
8
|
# shellcheck source=/dev/null
|
|
9
9
|
source "${function}"
|
|
10
10
|
done
|