paul's fish, bash, git, etc config files. good stuff.
npx skills add https://github.com/paulirish/dotfiles --skill build-free-typesCLI を使用してこのスキルをインストールし、ワークスペースで SKILL.md ワークフローの使用を開始します。
I would not suggest you just wholesale use my dotfiles. But there's a few files where there's great goodies you can steal.
This repo contains config for fish and bash. As of 2016, I primarily use fish shell, but fall back to bash once in a while. The bash and fish stuff are both well maintained. If you're using fish you'll want to do a git submodule update --init.
aliases.fish and functions.fish and fish/functions/*.aliases and .functionsSo many goodies.
.inputrc)Basically it makes typing into the prompt amazing.
cat <uparrow> to see your previous cats and use them.z, ..., cdf)z helps you jump around to whatever folder. It uses actual real magic to determine where you should jump to. Seperately there's some ... aliases to shorten cd ../.. and .., .... etc. Then, if you have a folder open in Finder, cdf will bring you to it.
z dotfiles
z blog
.... # drop back equivalent to cd ../../..
z public
cdf # cd to whatever's up in Finder
z learns only once its installed so you'll have to cd around for a bit to get it taught.
Lastly, I use open . to open Finder from this path. (That's just available normally.)
.aliases, .bash_profile, .bash_prompt, .bashrc, .exports, .functionssetup-a-new-machine.sh - random apps i need installedsymlink-setup.sh - sets up symlinks for all dotfiles and vim config..macos - run on a fresh mac os setupbrew.sh & brew-cask.sh - homebrew initialization.gitconfig.gitignore.macosMathias's repo is the canonical for this, but you should probably run his or mine after reviewing it.
~/binOne-off binaries that aren't via an npm global or homebrew. git open, subl for Sublime Text, and some other git utilities.
Rust folks have made a few things that are changing things.
bat as a cat replacementls and gets all the trapd00r/LS_COLORS stuff etc.git recent script. and probably some other things.Also I'd like to migrate to using one of these:
also interested in https://github.com/dandavison/open-in-editor
(presumably you've already upgraded from passwords to using ssh public key authentication.. but this is an alternative if you want the security key challenge)
Been doing this for a while.. forgot how i learned it and nobody has it documented that I can find...
Run on client machine:
ssh-add -L | grep publickey
This outputs a ecdsa-sha2-nistp256 key for me. I know it's registered for my hardware security key. (I don't know how it got registered with the SSH agent but w/e.)
Put that in whatever authorized_keys of your remote host. That's it.