@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.
Files changed (99) hide show
  1. package/README.md +124 -90
  2. package/dist/Makefile +7 -7
  3. package/dist/bin/constants.d.ts +4 -2
  4. package/dist/bin/constants.d.ts.map +1 -1
  5. package/dist/bin/constants.js +1 -1
  6. package/dist/bin/constants.js.map +1 -1
  7. package/dist/bin/dotfiles.js +1 -2
  8. package/dist/bin/dotfiles.js.map +1 -1
  9. package/dist/bin/index.js +0 -0
  10. package/dist/filesizes.txt +240 -230
  11. package/dist/{shell → lib}/README.md +0 -0
  12. package/dist/lib/aliases/default/default.aliases.sh +183 -0
  13. package/dist/{shell → lib}/aliases/gcloud/gcloud.aliases.sh +1 -1
  14. package/dist/lib/aliases/git/git.aliases.sh +569 -0
  15. package/dist/{shell → lib}/aliases/heroku/heroku.aliases.sh +1 -1
  16. package/dist/{shell → lib}/aliases/jekyll/jekyll.aliases.sh +1 -1
  17. package/dist/{shell → lib}/aliases/pnpm/pnpm.aliases.sh +1 -1
  18. package/dist/{shell → lib}/aliases/subversion/subversion.aliases.sh +1 -1
  19. package/dist/{shell → lib}/aliases/tmux/tmux.aliases.sh +1 -1
  20. package/dist/{shell → lib}/aliases.sh +2 -2
  21. package/dist/{shell → lib}/configurations/README.md +0 -0
  22. package/dist/{shell → lib}/configurations/bash/bashrc +3 -3
  23. package/dist/{shell → lib}/configurations/curl/cacert.pem +0 -0
  24. package/dist/{shell → lib}/configurations/curl/curlrc +1 -1
  25. package/dist/{shell → lib}/configurations/default/color.sh +1 -1
  26. package/dist/{shell → lib}/configurations/default/editor.sh +1 -1
  27. package/dist/{shell → lib}/configurations/default/prompt.sh +1 -1
  28. package/dist/{shell/configurations/input → lib/configurations/inputrc}/inputrc +1 -1
  29. package/dist/{shell → lib}/configurations/jshint/jshintrc +0 -0
  30. package/dist/{shell → lib}/configurations/profile/profile +1 -1
  31. package/dist/lib/configurations/tmux/default +17 -0
  32. package/dist/lib/configurations/tmux/display +25 -0
  33. package/dist/lib/configurations/tmux/linux +17 -0
  34. package/dist/lib/configurations/tmux/navigation +29 -0
  35. package/dist/lib/configurations/tmux/panes +9 -0
  36. package/dist/lib/configurations/tmux/theme +28 -0
  37. package/dist/lib/configurations/tmux/tmux +20 -0
  38. package/dist/lib/configurations/tmux/vi +5 -0
  39. package/dist/{shell → lib}/configurations/vim/vimrc +1 -1
  40. package/dist/{shell → lib}/configurations/wget/wgetrc +1 -1
  41. package/dist/{shell → lib}/configurations/zsh/zshrc +3 -3
  42. package/dist/{shell → lib}/configurations.sh +2 -2
  43. package/dist/{shell → lib}/exit.sh +1 -1
  44. package/dist/{shell → lib}/functions/README.md +0 -0
  45. package/dist/{shell → lib}/functions/cdls.sh +1 -1
  46. package/dist/{shell → lib}/functions/curlheader.sh +1 -1
  47. package/dist/{shell → lib}/functions/curltime.sh +1 -1
  48. package/dist/{shell → lib}/functions/encode64.sh +1 -1
  49. package/dist/{shell → lib}/functions/environment.sh +1 -1
  50. package/dist/{shell → lib}/functions/extract.sh +1 -1
  51. package/dist/{shell → lib}/functions/filehead.sh +0 -0
  52. package/dist/{shell → lib}/functions/genpwd.sh +1 -1
  53. package/dist/{shell → lib}/functions/goto.sh +1 -1
  54. package/dist/{shell → lib}/functions/hidehiddenfiles.sh +1 -1
  55. package/dist/{shell → lib}/functions/hostinfo.sh +1 -1
  56. package/dist/{shell → lib}/functions/hstats.sh +1 -1
  57. package/dist/{shell → lib}/functions/httpdebug.sh +1 -1
  58. package/dist/{shell → lib}/functions/keygen.sh +1 -1
  59. package/dist/{shell → lib}/functions/last.sh +1 -1
  60. package/dist/{shell → lib}/functions/logout.sh +1 -1
  61. package/dist/{shell → lib}/functions/lowercase.sh +1 -1
  62. package/dist/{shell → lib}/functions/macos.sh +1 -1
  63. package/dist/{shell → lib}/functions/matrix.sh +1 -1
  64. package/dist/{shell → lib}/functions/mcd.sh +1 -1
  65. package/dist/{shell → lib}/functions/mount_read_only.sh +1 -1
  66. package/dist/{shell → lib}/functions/myproc.sh +1 -1
  67. package/dist/{shell → lib}/functions/prependpath.sh +1 -1
  68. package/dist/{shell → lib}/functions/ql.sh +1 -1
  69. package/dist/{shell → lib}/functions/rd.sh +1 -1
  70. package/dist/{shell → lib}/functions/remove_disk.sh +1 -1
  71. package/dist/{shell → lib}/functions/ren.sh +1 -1
  72. package/dist/{shell → lib}/functions/showhiddenfiles.sh +1 -1
  73. package/dist/{shell → lib}/functions/size.sh +1 -1
  74. package/dist/{shell → lib}/functions/stopwatch.sh +1 -1
  75. package/dist/{shell → lib}/functions/uppercase.sh +1 -1
  76. package/dist/{shell → lib}/functions/view-source.sh +1 -1
  77. package/dist/{shell → lib}/functions/vscode.sh +1 -1
  78. package/dist/{shell → lib}/functions/whoisport.sh +1 -1
  79. package/dist/{shell → lib}/functions/zipf.sh +1 -1
  80. package/dist/{shell → lib}/functions.sh +2 -2
  81. package/dist/{shell → lib}/history.sh +1 -1
  82. package/dist/{shell → lib}/paths/ant/ant.paths.sh +1 -1
  83. package/dist/{shell → lib}/paths/default/default.paths.sh +1 -1
  84. package/dist/{shell → lib}/paths/homebrew/homebrew.paths.sh +1 -1
  85. package/dist/{shell → lib}/paths/java/java.paths.sh +1 -1
  86. package/dist/{shell → lib}/paths/maven/maven.paths.sh +1 -1
  87. package/dist/{shell → lib}/paths/node/node.paths.sh +1 -1
  88. package/dist/{shell → lib}/paths/nvm/nvm.paths.sh +1 -1
  89. package/dist/{shell → lib}/paths/pnpm/pnpm.paths.sh +1 -1
  90. package/dist/{shell → lib}/paths/python/python.paths.sh +1 -1
  91. package/dist/{shell → lib}/paths/ruby/ruby.paths.sh +1 -1
  92. package/dist/{shell → lib}/paths/tmux/tmux.paths.sh +2 -2
  93. package/dist/{shell → lib}/paths.sh +2 -2
  94. package/package.json +28 -28
  95. package/dist/bin/compile.sh +0 -16
  96. package/dist/bin/copy.sh +0 -21
  97. package/dist/bin/dotfiles.sh +0 -185
  98. package/dist/shell/aliases/default/default.aliases.sh +0 -199
  99. package/dist/shell/configurations/tmux/tmux +0 -95
@@ -1,95 +0,0 @@
1
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.457) - https://dotfiles.io
2
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
3
- # License: MIT
4
-
5
- set -g default-terminal "screen-256color" # use 256 colors
6
- if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"'
7
-
8
- ## 🅶🅴🅽🅴🆁🅰🅻
9
- bind C-a send-prefix -2 # GNU-Screen compatible prefix
10
- bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced' # reload configuration
11
- set -g history-limit 5000 # boost history limit
12
- set -g prefix2 C-a # GNU-Screen compatible prefix
13
- set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2)
14
- set -s escape-time 10 # faster command sequences
15
- set -s focus-events on # enable mouse focus events
16
- set -sg repeat-time 600 # increase repeat timeout
17
- setw -g xterm-keys on # enable xterm keys
18
- setw -q -g utf8 on # expect UTF-8 (tmux < 2.2)
19
-
20
- ## 🅳🅸🆂🅿🅻🅰🆈
21
- bind -n C-l send-keys C-l \; run 'sleep 0.2' \; clear-history # clear both screen and history
22
- set -g base-index 1 # start windows numbering at 1
23
- set -g display-panes-time 800 # slightly longer pane indicators display time
24
- set -g display-time 1000 # slightly longer status messages display time
25
- set -g monitor-activity on # monitor for activity
26
- set -g renumber-windows on # renumber windows when a window is closed
27
- set -g set-titles on # set terminal title
28
- set -g status-interval 10 # redraw status line every 10 seconds
29
- set -g visual-activity off # disable visual activity
30
- set -wg allow-rename off # disable window renaming
31
- set -wg automatic-rename off # disable automatic window renaming
32
- set -wg mode-keys vi # vi mode
33
- setw -g automatic-rename on # rename window to reflect current program
34
- setw -g pane-base-index 1 # make pane numbering consistent with windows
35
-
36
- ## 🅽🅰🆅🅸🅶🅰🆃🅸🅾🅽
37
-
38
- bind _ split-window -h # split current window horizontally
39
- bind - split-window -v # split current window vertically
40
- bind -r C-h previous-window # select previous window
41
- bind -r C-l next-window # select next window
42
- bind -r h select-pane -L # move left
43
- bind -r j select-pane -D # move down
44
- bind -r k select-pane -U # move up
45
- bind -r l select-pane -R # move right
46
- bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane "#{session_name}" #D' # maximize current pane
47
- bind < swap-pane -U # swap current pane with the previous one
48
- bind > swap-pane -D # swap current pane with the next one
49
- bind | split-window -h -c "#{pane_current_path}" # split current window horizontally
50
- bind a last -t : # move to last active window
51
- bind BTab switch-client -l # move to last session
52
- bind C-c new-session # create session
53
- bind C-f command-prompt -p find-session 'switch-client -t %%' # find session
54
- bind e neww -n tmux-config "\${EDITOR:-vim} ~/.tmux.conf" # edit configuration
55
- bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse" # toggle mouse
56
- bind N new-window # create window
57
- bind r source ~/.tmux.conf\; display "bmux config sourced" # reload configuration
58
- bind Tab last-window # move to last active window
59
- bind U run "cut -c3- ~/.tmux.conf | sh -s _urlview #{pane_id}" # urlview
60
- unbind n # unbind default next-window
61
- unbind p # unbind default previous-window
62
-
63
-
64
- ## 🆃🅷🅴🅼🅴
65
- if 'uname -s | grep -q Darwin' 'set -g status-left "#[bg=#D0D3D5]  macOS ❐ #S "' # macOS version
66
- if 'uname -s | grep -q Linux' 'set -g status-left "#[bg=#D0D3D5] 🐧 Linux ❐ #S "' # Linux version
67
- set -g history-limit 102400 # increase history limit
68
- set -g message-style "bg=#14222A, fg=#D0D3D5" # Mirage blue and Iron grey
69
- set -g set-clipboard on # copy to system clipboard
70
- set -g status-left-length 400 # status left length
71
- set -g status-right "#[bg=#027bff] #(whoami)@#h #[bg=red] %_d %B %I:%M%p " # status right
72
- set -g status-right-length 600 # status right length
73
- set -g status-style "bg=#14222A, fg=#D0D3D5" # mirage blue and iron grey
74
- set -wg pane-active-border-style "fg=#14222A" # mirage blue
75
- set -wg pane-border-style "fg=#D0D3D5" # iron grey
76
- set -wg window-status-current-format " #I #W " # current window status format
77
- set -wg window-status-current-style "bg=red" # red
78
- set -wg window-status-format " #I #W " # window status format
79
- set -wg window-status-last-style "fg=#D0D3D5" # iron grey
80
- set -wg window-status-separator "" # window status separator
81
-
82
-
83
- ## 🅻🅸🅽🆄🆇 🅾🅽🅻🆈
84
- bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M # scroll up
85
- bind -n WheelDownPane select-pane -t= \; send-keys -M # scroll down
86
- 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
87
- bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down # scroll down half page
88
- bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up # scroll up half page
89
- bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down # scroll down half page
90
- bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up # scroll up half page
91
- bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" # copy to system clipboard
92
- bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" # copy to system clipboard
93
- set -g mouse on # enable mouse
94
- setw -g mode-keys vi # vi mode
95
- unbind -T copy-mode-vi Enter # unbind default Enter