refactor: switch to bun
This commit is contained in:
4 files changed
+11
-10
No files matched your search
@@ -10,7 +10,10 @@ RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
||||
RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | jq -r .tag_name | sed 's/^v//') && \
|
||||
curl -sL "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_linux_x86_64.tar.gz" | tar xz -C /usr/local/bin lazygit && \
|
||||
curl -sL "https://github.com/jorgerojas26/lazysql/releases/latest/download/lazysql_Linux_x86_64.tar.gz" | tar xz -C /usr/local/bin lazysql && \
|
||||
curl -sL "https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz" | tar xz -C /usr/local --strip-components=1
|
||||
curl -sL "https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz" | tar xz -C /usr/local --strip-components=1 && \
|
||||
curl -fsSL https://bun.sh/install | BUN_INSTALL="/usr/local" bash && \
|
||||
ln -sf /usr/local/bin/bun /usr/local/bin/node && \
|
||||
BUN_INSTALL="/usr/local" bun install -g --ignore-scripts @earendil-works/pi-coding-agent
|
||||
|
||||
COPY ./bin /usr/local/bin
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ export PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
||||
# === aliases and functions ===
|
||||
alias vi=nvim
|
||||
post() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; }
|
||||
genpass() { tr -dc "${2:-A-Za-z0-9!@#$%^&*}" < /dev/urandom | head -c "${1:-16}"; echo; }
|
||||
random() { tr -dc "${2:-A-Za-z0-9!@#$%^&*}" < /dev/urandom | head -c "${1:-32}"; echo; }
|
||||
|
||||
eval "$(fzf --bash)"
|
||||
Reference in new issue
Block a user