Coder Social home page Coder Social logo

kyure-a / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 0.0 1.13 MB

🪼 @Kyure_A’s dotfiles

License: GNU General Public License v3.0

C++ 3.65% YASnippet 1.84% Shell 68.04% HTML 2.76% PowerShell 14.65% Rust 3.35% Hy 0.60% Makefile 5.12%
dotfiles emacs pwsh wsl zsh

dotfiles's Introduction

I am Kyure_A icon Kyure_A (and in japanese "キュレェ")

  • I'm a student studying engineering in Kosen 🏫 (4th year).

  • I work part-time as a backend engineer 💻.

  • I love Emacs Emacs Icon.

Stats

GitHub statsTop Langs

Listening to

Last.fm Activity

dotfiles's People

Contributors

kyure-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dotfiles's Issues

完全版 install.sh のアイデア

zplug がインストールされていない場合

$ curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh

starship がインストールされていない場合

curl -sS https://starship.rs/install.sh

:ensure-system-packages の廃止

  • eask
  • rustup

を Emacs 上で入れようとしていたが,普通に bin のスクリプトで入れるべきだなとなっています

backword-kill-word に変わる便利関数がほしい

モチベ

backword-kill-word はあくまで kill なのでどんどん kill-ring に溜まっていくので,そもそも delete のみを行う関数が欲しい

さらにほしい

find-file のときに実行するとディレクトリごとに削除されてほしいのにうまく区切りを認識してくれなかったりするので,今いるファイル周辺のファイルは読んでおいてうまいこと消すみたいなことがしたい

linkmaker.sh をリッチにしたい

installer.sh は zplug とかを呼び出すから(zplug によって)リッチに見えるが、linkmaker.sh の無機質さが際立つので、なんか絵文字とか追加していい感じの見た目にしたい

.config の扱い

starship しか入ってねえし、普通に dotfiles 直下においてリンク貼るときに .config 内にシンボリックリンクを貼ったほうが install.sh で扱うのも楽な気がします

作業用ブランチの作成

master を一度ふっとばした危機感ゆえのものだが、別に個人開発だし...という甘えがある

install.sh の機能の変更

今現在( 9dbde20 )の install.sh にはシンボリックリンクを貼る機能しかない。そのため、現在の install.sh をシンボリックリンクを貼る専用のスクリプトとする(名前も変更する)

現在の install.sh を仮に renamed_install.sh という名前に変更したとすると、新しく作成した完全版の install.sh から renamed_install.sh を呼び出す形にしようと思う

zsh の起動がおそすぎる

とりあえずログを貼る

num  calls                time                       self            name
--------------------------------------------------------------------------------------------------------------------------------------------------
 1)    9        1519.45   168.83   50.68%    987.33   109.70   32.93%  __zplug::core::load::as_plugin
 2)    4         725.25   181.31   24.19%    725.25   181.31   24.19%  compaudit
 3)    1         509.71   509.71   17.00%    509.71   509.71   17.00%  anyframe-init
 4)    1         230.50   230.50    7.69%    230.50   230.50    7.69%  compdump
 5)  809         178.75     0.22    5.96%    178.75     0.22    5.96%  compdef
 6)    3        1290.03   430.01   43.03%    155.74    51.91    5.19%  compinit
 7)    1          58.86    58.86    1.96%     58.15    58.15    1.94%  __zplug::log::write::info
 8)   12          47.85     3.99    1.60%     23.54     1.96    0.79%  __zplug::core::sources::use_default
 9)   13          26.31     2.02    0.88%     17.74     1.36    0.59%  __zplug::core::sources::call
10)   12          67.04     5.59    2.24%     16.97     1.41    0.57%  __zplug::core::add::to_zplugs
11)   13           8.34     0.64    0.28%      8.34     0.64    0.28%  github.zsh
12)    1          42.68    42.68    1.42%      7.83     7.83    0.26%  __zplug::core::core::prepare
13)    3          12.61     4.20    0.42%      6.66     2.22    0.22%  __check__
14)    1           6.40     6.40    0.21%      6.23     6.23    0.21%  _zsh_highlight_load_highlighters
15)    3           8.94     2.98    0.30%      6.06     2.02    0.20%  __zplug::core::core::get_interfaces
16)    2           5.37     2.69    0.18%      5.37     2.69    0.18%  __zplug::sources::github::check
17)    1           4.84     4.84    0.16%      4.75     4.75    0.16%  __zplug::base::base::git_version
18)    1           4.32     4.32    0.14%      4.32     4.32    0.14%  __zplug::utils::awk::available
19)    5           4.19     0.84    0.14%      4.12     0.82    0.14%  add-zle-hook-widget
20)    1           4.11     4.11    0.14%      4.11     4.11    0.14%  _history-substring-search-function-callable
21)    7          11.66     1.67    0.39%      3.99     0.57    0.13%  __zplug::base
22)    4           3.67     0.92    0.12%      3.67     0.92    0.12%  is-at-least
23)   30           2.87     0.10    0.10%      2.87     0.10    0.10%  regexp-replace
24)    1        2227.93  2227.93   74.31%      2.68     2.68    0.09%  __zplug::core::load::from_cache
25)    2           2.51     1.26    0.08%      2.51     1.26    0.08%  colors
26)    1           2.38     2.38    0.08%      2.38     2.38    0.08%  __zplug::core::cache::diff
27)    2           2.38     1.19    0.08%      2.38     1.19    0.08%  (anon) [/home/kyre/.zplug/repos/yuki-yano/zeno.zsh/zeno.zsh:9]
28)    2           1.78     0.89    0.06%      1.78     0.89    0.06%  predict-on
29)   16        2311.88   144.49   77.11%      1.00     0.06    0.03%  zplug
30)    6           0.94     0.16    0.03%      0.94     0.16    0.03%  add-zsh-hook
31)    1           0.79     0.79    0.03%      0.79     0.79    0.03%  async_init
32)    1           0.71     0.71    0.02%      0.71     0.71    0.02%  __zplug::job::handle::flock
33)    1           0.63     0.63    0.02%      0.63     0.63    0.02%  core.zsh
34)   17           0.49     0.03    0.02%      0.49     0.03    0.02%  __zplug::core::sources::is_exists
35)    1           0.49     0.49    0.02%      0.49     0.49    0.02%  git.zsh
36)    1           0.47     0.47    0.02%      0.47     0.47    0.02%  load.zsh
37)    1        2230.80  2230.80   74.41%      0.46     0.46    0.02%  __load__
38)    1           0.46     0.46    0.02%      0.46     0.46    0.02%  handle.zsh
39)    1           9.49     9.49    0.32%      0.46     0.46    0.02%  __zplug::core::core::variable
40)    4        2243.84   560.96   74.84%      0.43     0.11    0.01%  __zplug::core::core::run_interfaces
41)    1           0.42     0.42    0.01%      0.42     0.42    0.01%  theme.zsh
42)    1           0.42     0.42    0.01%      0.42     0.42    0.01%  cache.zsh
43)    2           0.31     0.15    0.01%      0.31     0.15    0.01%  gh-r.zsh
44)    1           0.30     0.30    0.01%      0.30     0.30    0.01%  base.zsh
45)    4           0.37     0.09    0.01%      0.28     0.07    0.01%  __zplug::core::sources::is_handler_defined
46)    1           0.27     0.27    0.01%      0.27     0.27    0.01%  shell.zsh
47)    2           0.26     0.13    0.01%      0.26     0.13    0.01%  prezto.zsh
48)    1           0.26     0.26    0.01%      0.26     0.26    0.01%  oh-my-zsh.zsh
49)    1           0.25     0.25    0.01%      0.25     0.25    0.01%  (anon) [/home/kyre/.zplug/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh:458]
50)    1           0.25     0.25    0.01%      0.25     0.25    0.01%  __zplug::core::interface::expose
51)    1           0.23     0.23    0.01%      0.23     0.23    0.01%  releases.zsh
52)   12           0.22     0.02    0.01%      0.22     0.02    0.01%  __zplug::base::base::is_cli
53)    2           0.21     0.11    0.01%      0.21     0.11    0.01%  print.zsh
54)    2           5.73     2.86    0.19%      0.21     0.10    0.01%  __zplug::core::sources::use_handler
55)    1           0.20     0.20    0.01%      0.20     0.20    0.01%  parallel.zsh
56)    1           0.18     0.18    0.01%      0.18     0.18    0.01%  add.zsh
57)    1           0.17     0.17    0.01%      0.17     0.17    0.01%  arguments.zsh
58)    1           0.41     0.41    0.01%      0.17     0.17    0.01%  __zplug::core::cache::update
59)    1           0.16     0.16    0.01%      0.16     0.16    0.01%  self.zsh
60)    2           0.14     0.07    0.00%      0.14     0.07    0.00%  __zplug::base::base::version_requirement
61)    1           0.13     0.13    0.00%      0.13     0.13    0.00%  options.zsh
62)    1           0.12     0.12    0.00%      0.12     0.12    0.00%  sources.zsh
63)    1           0.10     0.10    0.00%      0.10     0.10    0.00%  migration.zsh
64)    1           0.10     0.10    0.00%      0.10     0.10    0.00%  file.zsh
65)    1           0.09     0.09    0.00%      0.09     0.09    0.00%  awk.zsh
66)    1           0.08     0.08    0.00%      0.08     0.08    0.00%  rollback.zsh
67)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  message.zsh
68)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  hook.zsh
69)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  (anon) [/usr/share/zsh/functions/Misc/add-zle-hook-widget:28]
70)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  _zsh_highlight__is_function_p
71)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  yaml.zsh
72)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  tags.zsh
73)    1           0.07     0.07    0.00%      0.07     0.07    0.00%  omz.zsh
74)    1           0.45     0.45    0.01%      0.06     0.06    0.00%  polling.zsh
75)    1           0.06     0.06    0.00%      0.06     0.06    0.00%  capture.zsh
76)    1           0.06     0.06    0.00%      0.06     0.06    0.00%  format.zsh
77)    1           0.19     0.19    0.01%      0.06     0.06    0.00%  _zsh_highlight__function_callable_p
78)    1           0.06     0.06    0.00%      0.06     0.06    0.00%  gist.zsh
79)    1           0.06     0.06    0.00%      0.06     0.06    0.00%  commands.zsh
80)    1           0.06     0.06    0.00%      0.06     0.06    0.00%  bitbucket.zsh
81)    1           0.05     0.05    0.00%      0.05     0.05    0.00%  _zsh_highlight__function_is_autoload_stub_p
82)    1           0.05     0.05    0.00%      0.05     0.05    0.00%  process.zsh
83)    1           0.05     0.05    0.00%      0.05     0.05    0.00%  gitlab.zsh
84)    1           0.05     0.05    0.00%      0.05     0.05    0.00%  local.zsh
85)    1           0.05     0.05    0.00%      0.05     0.05    0.00%  interface.zsh
86)    1          58.91    58.91    1.96%      0.05     0.05    0.00%  __zplug::io::file::load
87)    1           0.04     0.04    0.00%      0.04     0.04    0.00%  queue.zsh
88)    1           0.83     0.83    0.03%      0.04     0.04    0.00%  async
89)    1           0.04     0.04    0.00%      0.04     0.04    0.00%  write.zsh
90)    1           4.31     4.31    0.14%      0.04     0.04    0.00%  __zplug::core::tags::get
91)    1           0.03     0.03    0.00%      0.03     0.03    0.00%  __zplug::core::load::prepare
92)    1           0.03     0.03    0.00%      0.03     0.03    0.00%  ansi.zsh
93)    1           2.06     2.06    0.07%      0.03     0.03    0.00%  __zplug::core::options::get
94)    1           0.08     0.08    0.00%      0.03     0.03    0.00%  __zplug::base::base::zsh_version
95)    1           2.65     2.65    0.09%      0.02     0.02    0.00%  __zplug::core::commands::get
96)    1           0.01     0.01    0.00%      0.01     0.01    0.00%  __starship_get_time
97)    1           0.00     0.00    0.00%      0.00     0.00    0.00%  _zsh_highlight_bind_widgets

installer の内容を独立させたい

冷静に考えると zplug から asdf をダウンロードする設定を zshrc に書くのって、設定の読み込み遅延や関数の命名のちぐはぐさを鑑みると合理性にかけてるよなあ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.