shells: silverfin*: empty motd so it doesn't show in rubymine
This commit is contained in:
parent
4fe2d1faab
commit
649f500a1c
3 changed files with 20 additions and 14 deletions
|
@ -107,10 +107,10 @@
|
|||
];
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
sessionVariables = {
|
||||
DEFAULT_USER = "charlotte.vanpetegem";
|
||||
sessionVariables = {
|
||||
DEFAULT_USER = "charlotte.vanpetegem";
|
||||
# Until I get emacs set up on this machine
|
||||
EDITOR = "vim";
|
||||
EDITOR = "vim";
|
||||
};
|
||||
shellAliases = {
|
||||
gupd = "gfa && gprom";
|
||||
|
|
|
@ -2,11 +2,14 @@
|
|||
pkgs.devshell.mkShell {
|
||||
name = "Silverfin";
|
||||
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
|
||||
devshell.startup = {
|
||||
# Hack to make sure Rubymine doesn't use an ephemeral path from the nix store
|
||||
"link-devshell-dir".text = ''
|
||||
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
|
||||
'';
|
||||
devshell = {
|
||||
motd = "";
|
||||
startup = {
|
||||
# Hack to make sure Rubymine doesn't use an ephemeral path from the nix store
|
||||
"link-devshell-dir".text = ''
|
||||
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
|
||||
'';
|
||||
};
|
||||
};
|
||||
packages = with pkgs; [
|
||||
cmake
|
||||
|
|
|
@ -2,16 +2,19 @@
|
|||
pkgs.devshell.mkShell {
|
||||
name = "Silverfin";
|
||||
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
|
||||
devshell.startup = {
|
||||
# Hack to make sure Rubymine doesn't use an ephemeral path from the nix store
|
||||
"link-devshell-dir".text = ''
|
||||
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
|
||||
'';
|
||||
devshell = {
|
||||
motd = "";
|
||||
startup = {
|
||||
# Hack to make sure Rubymine doesn't use an ephemeral path from the nix store
|
||||
"link-devshell-dir".text = ''
|
||||
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
|
||||
'';
|
||||
};
|
||||
};
|
||||
commands = [
|
||||
{
|
||||
name = "delete-merged";
|
||||
category = "general commands";
|
||||
category = "[general commands]";
|
||||
help = "Delete merged branches";
|
||||
command = ''
|
||||
git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f - <(git branch -vv | grep origin) | awk '{print $1}' | xargs -r git branch -D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue