Compare commits

..

2 commits

Author SHA1 Message Date
2687639d49 updating profile and removing neovim theme 2024-10-28 01:35:15 +02:00
d0baf861fd making it so npm <command>
Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term>
npm help npm       more involved overview

All commands:

    access, adduser, audit, bugs, cache, ci, completion,
    config, dedupe, deprecate, diff, dist-tag, docs, doctor,
    edit, exec, explain, explore, find-dupes, fund, get, help,
    help-search, hook, init, install, install-ci-test,
    install-test, link, ll, login, logout, ls, org, outdated,
    owner, pack, ping, pkg, prefix, profile, prune, publish,
    query, rebuild, repo, restart, root, run-script, sbom,
    search, set, shrinkwrap, star, stars, start, stop, team,
    test, token, uninstall, unpublish, unstar, update, version,
    view, whoami

Specify configs in the ini-formatted file:
    /home/siina/.npmrc
or on the command line via: npm <command> --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@10.8.2 /usr/lib64/node_modules/npm won't actually be global
2024-10-25 20:36:08 +03:00
2 changed files with 7 additions and 5 deletions

View file

@ -4,7 +4,6 @@ call plug#begin()
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'https://gitlab.com/code-stats/code-stats-vim.git', {'do': ':TSUpdate'} Plug 'https://gitlab.com/code-stats/code-stats-vim.git', {'do': ':TSUpdate'}
Plug 'vim-airline/vim-airline', {'do': ':TSUpdate'} Plug 'vim-airline/vim-airline', {'do': ':TSUpdate'}
Plug 'catppuccin/nvim', {'as': 'catpputccin'}
call plug#end() call plug#end()

View file

@ -8,7 +8,6 @@ if test -z "${XDG_RUNTIME_DIR}"; then
fi fi
fi fi
export XDG_CURRENT_DESKTOP=sway
# The city's finest exports! # The city's finest exports!
export GIT_EDITOR="nvim" export GIT_EDITOR="nvim"
@ -18,6 +17,9 @@ export SCREENSHOT_DIR="$HOME/Screenshots"
export LC_MESSAGES="C.UTF-8" export LC_MESSAGES="C.UTF-8"
export TERM="xterm-256color" export TERM="xterm-256color"
export NPM_CONFIG_PREFIX="$HOME/.local/"
export PATH="$PATH:$NPM_CONFIG_PREFIX/bin"
# Let's get some private environment vars # Let's get some private environment vars
source $HOME/.config/private.env source $HOME/.config/private.env
@ -26,10 +28,11 @@ export LESSHISTFILE=-
# Launch sway! # Launch sway!
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
export XDG_CURRENT_DESKTOP=sway
dbus-run-session sway dbus-run-session sway
fi fi
alias ccat="highlight -O ansi $@" alias ccat="highlight -O ansi $@"
alias ls="ls -h --color=auto" alias ls="eza --time-style '+%Y.%m.%d %H.%M' --colour always --icons --group-directories-first --git $@"
alias vim="nvim $@" alias vim="nvim $@"
alias wget="wget --hsts-file $HOME/.cache/wget/hsts" alias wget="wget --hsts-file $HOME/.cache/wget-hsts"